class EntityTestUserClass

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php \Drupal\entity_test_bundle_class\Entity\EntityTestUserClass
  2. 11.x 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

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
Support module for testing entity bundle classes.

File

core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestUserClass.php, line 10

Namespace

Drupal\entity_test_bundle_class\Entity
View source
class EntityTestUserClass extends User {

}

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