class ConfigQueryTest
Same name and namespace in other branches
- 11.x core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php \Drupal\config_test\Entity\ConfigQueryTest
- 10 core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php \Drupal\config_test\Entity\ConfigQueryTest
- 8.9.x core/modules/config/tests/config_test/src/Entity/ConfigQueryTest.php \Drupal\config_test\Entity\ConfigQueryTest
Defines the ConfigQueryTest configuration entity used by the query test.
Plugin annotation
@ConfigEntityType(
id = "config_query_test",
label = @Translation("Test configuration for query"),
handlers = {
"storage" = "Drupal\config_test\ConfigTestStorage",
"list_builder" = "Drupal\Core\Config\Entity\ConfigEntityListBuilder",
"form" = {
"default" = "Drupal\config_test\ConfigTestForm"
}
},
config_prefix = "query",
config_export = {
"id",
"label",
"array",
"number",
},
entity_keys = {
"id" = "id",
"label" = "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 implements \Drupal\Core\Config\Entity\ConfigEntityInterface uses \Drupal\Core\Plugin\PluginDependencyTrait, \Drupal\Core\Entity\SynchronizableEntityTrait extends \Drupal\Core\Entity\EntityBase
- class \Drupal\config_test\Entity\ConfigTest implements \Drupal\config_test\ConfigTestInterface extends \Drupal\Core\Config\Entity\ConfigEntityBase
- class \Drupal\config_test\Entity\ConfigQueryTest extends \Drupal\config_test\Entity\ConfigTest
- class \Drupal\config_test\Entity\ConfigTest implements \Drupal\config_test\ConfigTestInterface extends \Drupal\Core\Config\Entity\ConfigEntityBase
- class \Drupal\Core\Config\Entity\ConfigEntityBase implements \Drupal\Core\Config\Entity\ConfigEntityInterface uses \Drupal\Core\Plugin\PluginDependencyTrait, \Drupal\Core\Entity\SynchronizableEntityTrait extends \Drupal\Core\Entity\EntityBase
Expanded class hierarchy of ConfigQueryTest
See also
\Drupal\system\Tests\Entity\ConfigEntityQueryTest
1 file declares its use of ConfigQueryTest
- ConfigEntityQueryTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ConfigEntityQueryTest.php
File
-
core/
modules/ config/ tests/ config_test/ src/ Entity/ ConfigQueryTest.php, line 33
Namespace
Drupal\config_test\EntityView source
class ConfigQueryTest extends ConfigTest {
/**
* A number used by the sort tests.
*
* @var int
*/
public $number;
/**
* An array used by the wildcard tests.
*
* @var array
*/
public $array = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.