class EntityTestBundleClassOverrideA
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/entity_test_attribute_bundle_class/src/Entity/EntityTestBundleClassOverrideA.php \Drupal\entity_test_attribute_bundle_class\Entity\EntityTestBundleClassOverrideA
Overrides bundle class for the entity_test entity type bundle_class_a bundle.
Attributes
#[Bundle(entityType: 'entity_test', bundle: 'bundle_class_a', label: new TranslatableMarkup('Bundle class A label set by attribute'), translatable: FALSE)]
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 implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait extends \Drupal\Core\Entity\EntityBase
- class \Drupal\entity_test\Entity\EntityTest implements \Drupal\user\EntityOwnerInterface extends \Drupal\Core\Entity\ContentEntityBase
- class \Drupal\entity_test_attribute_bundle_class\Entity\EntityTestBundleClassOverrideA extends \Drupal\entity_test\Entity\EntityTest
- class \Drupal\entity_test\Entity\EntityTest implements \Drupal\user\EntityOwnerInterface extends \Drupal\Core\Entity\ContentEntityBase
- class \Drupal\Core\Entity\ContentEntityBase implements \Drupal\Core\Entity\IteratorAggregate, \Drupal\Core\Entity\ContentEntityInterface, \Drupal\Core\TypedData\TranslationStatusInterface uses \Drupal\Core\Entity\EntityChangesDetectionTrait, \Drupal\Core\Entity\SynchronizableEntityTrait extends \Drupal\Core\Entity\EntityBase
Expanded class hierarchy of EntityTestBundleClassOverrideA
1 file declares its use of EntityTestBundleClassOverrideA
- BundleClassTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ BundleClassTest.php
File
-
core/
modules/ system/ tests/ modules/ entity_test_attribute_bundle_class/ src/ Entity/ EntityTestBundleClassOverrideA.php, line 14
Namespace
Drupal\entity_test_attribute_bundle_class\EntityView source
class EntityTestBundleClassOverrideA extends EntityTest {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.