public function ParagraphContentMigrationTest::providerParagraphContentMigration

Provides data and expected results for testing paragraph migrations.

Return value

string[][] The node migration to run.

File

paragraphs/tests/src/Kernel/migrate/ParagraphContentMigrationTest.php, line 96

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