protected property EntityQueryTest::$entityTypes in Multiversion 8
The entity types to test.
Type: array
File
- tests/
src/ Functional/ EntityQueryTest.php, line 17
Class
- EntityQueryTest
- Test the altered entity query functionality.
Namespace
Drupal\Tests\multiversion\FunctionalCode
protected $entityTypes = [
'entity_test' => [],
'entity_test_rev' => [],
'entity_test_mul' => [],
'entity_test_mulrev' => [],
'node' => [
'type' => 'article',
'title' => 'New article',
],
'taxonomy_term' => [
'name' => 'A term',
'vid' => 123,
],
'comment' => [
'entity_type' => 'node',
'field_name' => 'comment',
'subject' => 'How much wood would a woodchuck chuck',
'mail' => 'someone@example.com',
],
'file' => [
'uid' => 1,
'filename' => 'multiversion.txt',
'uri' => 'public://multiversion.txt',
'filemime' => 'text/plain',
'status' => 1,
],
'shortcut' => [
'shortcut_set' => 'default',
'title' => 'Llama',
'weight' => 0,
'link' => [
[
'uri' => 'internal:/admin',
],
],
],
];