EntityTestCache.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Drupal\entity_test\EntityFile
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestCache.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_test\Entity\EntityTestCache.
*/
namespace Drupal\entity_test\Entity;
/**
* Defines the test entity class.
*
* @ContentEntityType(
* id = "entity_test_cache",
* label = @Translation("Test entity with field cache"),
* handlers = {
* "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
* "form" = {
* "default" = "Drupal\entity_test\EntityTestForm"
* },
* "translation" = "Drupal\content_translation\ContentTranslationHandler"
* },
* base_table = "entity_test",
* entity_keys = {
* "id" = "id",
* "uuid" = "uuid",
* "bundle" = "type"
* }
* )
*/
class EntityTestCache extends EntityTest {
}
Classes
Name | Description |
---|---|
EntityTestCache | Defines the test entity class. |