ViewsConfigEntityTest.php
Same filename in other branches
Namespace
Drupal\views_config_entity_test\EntityFile
-
core/
modules/ views/ tests/ modules/ views_config_entity_test/ src/ Entity/ ViewsConfigEntityTest.php
View source
<?php
namespace Drupal\views_config_entity_test\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBase;
/**
* Defines a configuration-based entity type used for testing Views data.
*
* @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"
* }
* )
*/
class ViewsConfigEntityTest extends ConfigEntityBase {
}
Classes
Title | Deprecated | Summary |
---|---|---|
ViewsConfigEntityTest | Defines a configuration-based entity type used for testing Views data. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.