cbe7ba4c9ba5e53f565d9213320e83f71a944cfd
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / src / Entity / EntityTestMul.php
1 <?php
2
3 namespace Drupal\entity_test\Entity;
4
5 /**
6  * Defines the test entity class.
7  *
8  * @ContentEntityType(
9  *   id = "entity_test_mul",
10  *   label = @Translation("Test entity - data table"),
11  *   handlers = {
12  *     "view_builder" = "Drupal\entity_test\EntityTestViewBuilder",
13  *     "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
14  *     "form" = {
15  *       "default" = "Drupal\entity_test\EntityTestForm",
16  *       "delete" = "Drupal\entity_test\EntityTestDeleteForm"
17  *     },
18  *     "translation" = "Drupal\content_translation\ContentTranslationHandler",
19  *     "views_data" = "Drupal\views\EntityViewsData",
20  *     "route_provider" = {
21  *       "html" = "Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider",
22  *     },
23  *   },
24  *   base_table = "entity_test_mul",
25  *   data_table = "entity_test_mul_property_data",
26  *   admin_permission = "administer entity_test content",
27  *   translatable = TRUE,
28  *   entity_keys = {
29  *     "id" = "id",
30  *     "uuid" = "uuid",
31  *     "bundle" = "type",
32  *     "label" = "name",
33  *     "langcode" = "langcode",
34  *   },
35  *   links = {
36  *     "add-page" = "/entity_test_mul/add",
37  *     "add-form" = "/entity_test_mul/add/{type}",
38  *     "canonical" = "/entity_test_mul/manage/{entity_test_mul}",
39  *     "edit-form" = "/entity_test_mul/manage/{entity_test_mul}/edit",
40  *     "delete-form" = "/entity_test/delete/entity_test_mul/{entity_test_mul}",
41  *   },
42  *   field_ui_base_route = "entity.entity_test_mul.admin_form",
43  * )
44  */
45 class EntityTestMul extends EntityTest {
46
47 }