You are here

public function MenuTest::menuImportExportDataProvider in Acquia Content Hub 8.2

Data provider for menuImportExportDataProvider.

Return value

array Array of import and export data.

File

tests/src/Kernel/MenuTest.php, line 73

Class

MenuTest
Class MenuEntityTest.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

public function menuImportExportDataProvider() {
  return [
    [
      0,
      [
        [
          'type' => 'menu_link_content',
          'uuid' => 'b1dd007c-6720-4497-b54c-879ea2eb6898',
        ],
      ],
      'menu_link_content',
      'b1dd007c-6720-4497-b54c-879ea2eb6898',
    ],
    [
      1,
      [
        [
          'type' => 'menu_link_content',
          'uuid' => 'b335c1e4-1ee7-42b0-9e51-ec24482ca08a',
        ],
      ],
      'menu_link_content',
      'b335c1e4-1ee7-42b0-9e51-ec24482ca08a',
    ],
    [
      2,
      [
        [
          'type' => 'menu_link_content',
          'uuid' => 'd675d768-a283-41f7-b136-a50603e5b76a',
        ],
      ],
      'menu_link_content',
      'd675d768-a283-41f7-b136-a50603e5b76a',
    ],
  ];
}