TestConfigType.php
Same filename and directory in other branches
Namespace
Drupal\module_installer_config_test\EntityFile
-
core/
modules/ system/ tests/ modules/ module_installer_config_test/ src/ Entity/ TestConfigType.php
View source
<?php
namespace Drupal\module_installer_config_test\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBase;
/**
* Defines a configuration-based entity type used for testing.
*
* @ConfigEntityType(
* id = "test_config_type",
* label = @Translation("Test entity type"),
* handlers = {
* "list_builder" = "Drupal\Core\Entity\EntityListBuilder"
* },
* admin_permission = "administer modules",
* config_prefix = "type",
* entity_keys = {
* "id" = "id",
* "label" = "name"
* },
* config_export = {
* "id",
* "label",
* }
* )
*/
class TestConfigType extends ConfigEntityBase {
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestConfigType | Defines a configuration-based entity type used for testing. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.