You are here

protected property EntityQueryTest::$entityTypes in Multiversion 8.2

The entity types to test.

Type: array

File

src/Tests/EntityQueryTest.php, line 17

Class

EntityQueryTest
Test the altered entity query functionality.

Namespace

Drupal\multiversion\Tests

Code

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' => FILE_STATUS_PERMANENT,
  ],
  'shortcut' => [
    'shortcut_set' => 'default',
    'title' => 'Llama',
    'weight' => 0,
    'link' => [
      [
        'uri' => 'internal:/admin',
      ],
    ],
  ],
];