5b8fac4b935a2c4d766d2141111729826cc945f8
[yaffs-website] / module_installer_config_test / src / Entity / TestConfigType.php
1 <?php
2
3 namespace Drupal\module_installer_config_test\Entity;
4
5 use Drupal\Core\Config\Entity\ConfigEntityBase;
6
7 /**
8  * Defines a configuration-based entity type used for testing.
9  *
10  * @ConfigEntityType(
11  *   id = "test_config_type",
12  *   label = @Translation("Test entity type"),
13  *   handlers = {
14  *     "list_builder" = "Drupal\Core\Entity\EntityListBuilder"
15  *   },
16  *   admin_permission = "administer modules",
17  *   config_prefix = "type",
18  *   entity_keys = {
19  *     "id" = "id",
20  *     "label" = "name"
21  *   }
22  * )
23  */
24 class TestConfigType extends ConfigEntityBase {
25 }