class EntityTestCache

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCache.php \Drupal\entity_test\Entity\EntityTestCache
  2. 8.9.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCache.php \Drupal\entity_test\Entity\EntityTestCache
  3. 10 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCache.php \Drupal\entity_test\Entity\EntityTestCache

Defines the test entity class.

Attributes

#[ContentEntityType(id: 'entity_test_cache', label: new TranslatableMarkup('Test entity with field cache'), entity_keys: [ 'id' => 'id', 'uuid' => 'uuid', 'bundle' => 'type', ], handlers: [ 'access' => EntityTestAccessControlHandler::class, 'form' => [ 'default' => EntityTestForm::class, ], ], base_table: 'entity_test_cache')]

Hierarchy

Expanded class hierarchy of EntityTestCache

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCache.php, line 15

Namespace

Drupal\entity_test\Entity
View source
class EntityTestCache extends EntityTest {

}

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