Newer
Older
Angie Byron
committed
<?php
/**
* @file
* Contains \Drupal\entity_test\Entity\EntityTestLabel.
Angie Byron
committed
*/
namespace Drupal\entity_test\Entity;
Angie Byron
committed
use Drupal\Core\Entity\Annotation\EntityType;
Angie Byron
committed
use Drupal\Core\Annotation\Translation;
/**
* Test entity class.
*
* @EntityType(
Angie Byron
committed
* id = "entity_test_label",
* label = @Translation("Entity Test label"),
* controllers = {
Alex Pott
committed
* "storage" = "Drupal\Core\Entity\FieldableDatabaseStorageController",
Alex Pott
committed
* "view_builder" = "Drupal\entity_test\EntityTestViewBuilder"
Angie Byron
committed
* base_table = "entity_test",
* render_cache = FALSE,
Angie Byron
committed
* entity_keys = {
* "id" = "id",
Alex Pott
committed
* "label" = "name",
* "bundle" = "type"
Angie Byron
committed
* }
* )
*/
class EntityTestLabel extends EntityTest {
}