class ViewsConfigEntityTest
Same name in other branches
- 9 core/modules/views/tests/modules/views_config_entity_test/src/Entity/ViewsConfigEntityTest.php \Drupal\views_config_entity_test\Entity\ViewsConfigEntityTest
- 8.9.x core/modules/views/tests/modules/views_config_entity_test/src/Entity/ViewsConfigEntityTest.php \Drupal\views_config_entity_test\Entity\ViewsConfigEntityTest
- 11.x core/modules/views/tests/modules/views_config_entity_test/src/Entity/ViewsConfigEntityTest.php \Drupal\views_config_entity_test\Entity\ViewsConfigEntityTest
Defines a configuration-based entity type used for testing Views data.
Plugin annotation
@ConfigEntityType(
id = "views_config_entity_test",
label = @Translation("Test config entity type with Views data"),
handlers = {
"list_builder" = "Drupal\Core\Entity\EntityListBuilder",
"views_data" = "Drupal\views_config_entity_test\ViewsConfigEntityTestViewsData"
},
admin_permission = "administer modules",
config_prefix = "type",
entity_keys = {
"id" = "id",
"label" = "name"
},
config_export = {
"id",
"label",
}
)
Hierarchy
- class \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Entity\EntityInterface uses \Drupal\Core\Cache\RefinableCacheableDependencyTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\Core\Config\Entity\ConfigEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Config\Entity\ConfigEntityInterface uses \Drupal\Core\Plugin\PluginDependencyTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
- class \Drupal\views_config_entity_test\Entity\ViewsConfigEntityTest extends \Drupal\Core\Config\Entity\ConfigEntityBase
- class \Drupal\Core\Config\Entity\ConfigEntityBase extends \Drupal\Core\Entity\EntityBase implements \Drupal\Core\Config\Entity\ConfigEntityInterface uses \Drupal\Core\Plugin\PluginDependencyTrait, \Drupal\Core\Entity\SynchronizableEntityTrait
Expanded class hierarchy of ViewsConfigEntityTest
File
-
core/
modules/ views/ tests/ modules/ views_config_entity_test/ src/ Entity/ ViewsConfigEntityTest.php, line 29
Namespace
Drupal\views_config_entity_test\EntityView source
class ViewsConfigEntityTest extends ConfigEntityBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.