You are here

protected property UninstallTest::$entityTypes in Multiversion 8.2

Type: array

File

src/Tests/UninstallTest.php, line 20

Class

UninstallTest
Test the UninstallTest class.

Namespace

Drupal\multiversion\Tests

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',
      ],
    ],
  ],
];