class EntityTestUserClass
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestUserClass
- 10 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestUserClass
A custom bundle class for the User entity.
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\user\Entity\User extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\UserInterface uses \Drupal\Core\Entity\EntityChangedTrait
- class \Drupal\entity_test_bundle_class\Entity\EntityTestUserClass extends \Drupal\user\Entity\User
- class \Drupal\user\Entity\User extends \Drupal\Core\Entity\ContentEntityBase implements \Drupal\user\UserInterface uses \Drupal\Core\Entity\EntityChangedTrait
- 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 EntityTestUserClass
2 files declare their use of EntityTestUserClass
- 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
File
-
core/
modules/ system/ tests/ modules/ entity_test_bundle_class/ src/ Entity/ EntityTestUserClass.php, line 12
Namespace
Drupal\entity_test_bundle_class\EntityView source
class EntityTestUserClass extends User {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.