Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / src / Entity / EntityTestNoBundle.php
1 <?php
2
3 namespace Drupal\entity_test\Entity;
4
5 /**
6  * Test entity class with no bundle.
7  *
8  * @ContentEntityType(
9  *   id = "entity_test_no_bundle",
10  *   label = @Translation("Entity Test without bundle"),
11  *   base_table = "entity_test_no_bundle",
12  *   handlers = {
13  *     "views_data" = "Drupal\views\EntityViewsData"
14  *   },
15  *   entity_keys = {
16  *     "id" = "id",
17  *     "revision" = "revision_id",
18  *   },
19  *   admin_permission = "administer entity_test content",
20  *   links = {
21  *     "add-form" = "/entity_test_no_bundle/add",
22  *   },
23  * )
24  */
25 class EntityTestNoBundle extends EntityTest {
26
27 }