class EntityTestVariant

Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestVariant.php \Drupal\entity_test_bundle_class\Entity\EntityTestVariant
  2. 11.x core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestVariant.php \Drupal\entity_test_bundle_class\Entity\EntityTestVariant

Defines a custom class to use for EntityTest.

Hierarchy

Expanded class hierarchy of EntityTestVariant

See also

entity_test_bundle_class_entity_type_alter()

2 files declare their use of EntityTestVariant
BundleClassTest.php in core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
entity_test_bundle_class.module in core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module
Support module for testing entity bundle classes.

File

core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestVariant.php, line 12

Namespace

Drupal\entity_test_bundle_class\Entity
View source
class EntityTestVariant extends EntityTest {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.