You are here

protected property FieldTestBase::$entityTypes in Multiversion 8

The entity types to test.

Type: array

File

tests/src/Functional/FieldTestBase.php, line 12

Class

FieldTestBase

Namespace

Drupal\Tests\multiversion\Functional

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',
  ],
  'block_content' => [
    'info' => 'New block',
    'type' => 'basic',
  ],
  'menu_link_content' => [
    'menu_name' => 'menu_test',
    'bundle' => 'menu_link_content',
    'link' => [
      [
        'uri' => 'user-path:/',
      ],
    ],
  ],
  'shortcut' => [
    'shortcut_set' => 'default',
    'title' => 'Llama',
    'weight' => 0,
    'link' => [
      [
        'uri' => 'internal:/admin',
      ],
    ],
  ],
  'file' => [
    'uid' => 1,
    'filename' => 'druplicon.txt',
    'uri' => 'public://druplicon.txt',
    'filemime' => 'text/plain',
    'status' => 1,
  ],
];