EntityTestNoId.php 563 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?php

/**
 * @file
 * Contains \Drupal\entity_test\Entity\EntityTestNoId.
 */

namespace Drupal\entity_test\Entity;

/**
 * Test entity class.
 *
 * @ContentEntityType(
 *   id = "entity_test_no_id",
 *   label = @Translation("Entity Test without id"),
 *   controllers = {
 *     "storage" = "Drupal\Core\Entity\ContentEntityNullStorage",
 *   },
 *   fieldable = TRUE,
 *   entity_keys = {
 *     "bundle" = "type",
 *   },
 *   links = {
 *     "admin-form" = "entity_test.admin_entity_test_no_id"
 *   }
 * )
 */
class EntityTestNoId extends EntityTest {

}