class EntityTestAmbiguousBundleClass
Same name in other branches
- 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestAmbiguousBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestAmbiguousBundleClass
- 11.x core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestAmbiguousBundleClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestAmbiguousBundleClass
An ambiguous bundle class that is a subclass of two different entity classes.
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\EntityInterface uses \Drupal\Core\Cache\RefinableCacheableDependencyTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Core\Entity\ContentEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
- class \Drupal\entity_test\Entity\EntityTest extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\EntityOwnerInterface
- class \Drupal\entity_test\Entity\EntityTestNoLabel extends \Drupal\entity_test\Entity\EntityTest
- class \Drupal\entity_test_bundle_class\Entity\EntityTestAmbiguousBundleClass extends \Drupal\entity_test\Entity\EntityTestNoLabel
- class \Drupal\entity_test\Entity\EntityTestNoLabel extends \Drupal\entity_test\Entity\EntityTest
- class \Drupal\entity_test\Entity\EntityTest extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\EntityOwnerInterface
- class \Drupal\Core\Entity\ContentEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
Expanded class hierarchy of EntityTestAmbiguousBundleClass
2 files declare their use of EntityTestAmbiguousBundleClass
- 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/ EntityTestAmbiguousBundleClass.php, line 10
Namespace
Drupal\entity_test_bundle_class\EntityView source
class EntityTestAmbiguousBundleClass extends EntityTestNoLabel {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.