EntityTestLabel.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\entity_test\EntityFile
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_test\Entity\EntityTestLabel.
*/
namespace Drupal\entity_test\Entity;
/**
* Test entity class.
*
* @ContentEntityType(
* id = "entity_test_label",
* label = @Translation("Entity Test label"),
* handlers = {
* "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
* "view_builder" = "Drupal\entity_test\EntityTestViewBuilder"
* },
* base_table = "entity_test",
* render_cache = FALSE,
* entity_keys = {
* "id" = "id",
* "label" = "name",
* "bundle" = "type"
* }
* )
*/
class EntityTestLabel extends EntityTest {
}
Classes
Name | Description |
---|---|
EntityTestLabel | Test entity class. |