You are here

public function ParagraphContentMigrationTest::providerParagraphContentMigration in Paragraphs 8

Provides data and expected results for testing paragraph migrations.

Return value

string[][] The node migration to run.

File

tests/src/Kernel/migrate/ParagraphContentMigrationTest.php, line 104

Class

ParagraphContentMigrationTest
Test 'classic' Paragraph content migration.

Namespace

Drupal\Tests\paragraphs\Kernel\migrate

Code

public function providerParagraphContentMigration() {
  return [
    [
      'node_migration' => NULL,
    ],
    [
      'node_migration' => 'd7_node_revision:paragraphs_test',
    ],
    [
      'node_migration' => 'd7_node_translation:paragraphs_test',
    ],
    [
      'node_migration' => 'd7_node_complete:paragraphs_test',
    ],
  ];
}