You are here

protected property UninstallTest::$entityTypes in Multiversion 8

Type: array

File

tests/src/Functional/UninstallTest.php, line 24

Class

UninstallTest
Test the UninstallTest class.

Namespace

Drupal\Tests\multiversion\Functional

Code

protected $entityTypes = [
  'node' => [
    'type' => 'article',
    'title' => 'foo',
  ],
  //    'taxonomy_term' => ['name' => 'A term', 'vid' => 123],
  //    'comment' => [
  //      'entity_type' => 'node',
  //      'field_name' => 'comment',
  //      'subject' => 'How much wood would a woodchuck chuck',
  //      'comment_type' => 'comment',
  //    ],
  //    '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',
      ],
    ],
  ],
];