You are here

constant MediaWysiwygPluginBaseTest::UNRELATED_MIGRATIONS in Media Migration 8

Some unrelated content entity migration definitions.

@const array[]

File

tests/src/Unit/MediaWysiwygPluginBaseTest.php, line 219

Class

MediaWysiwygPluginBaseTest
Tests the Bean Media WYSIWYG plugin.

Namespace

Drupal\Tests\media_migration\Unit

Code

const UNRELATED_MIGRATIONS = [
  'custom_1' => [
    'migration_tags' => [
      'Drupal 7',
      'Content',
    ],
    'process' => [
      'field' => 'another_field',
      'destination_field' => 'field',
    ],
    'destination' => [
      'plugin' => 'entity:custom_entity',
    ],
  ],
  'custom_2' => [
    'migration_tags' => [
      'Drupal 7',
      'Content',
    ],
    'process' => [
      'field' => 'another_field',
      'destination_field' => 'field',
    ],
    'destination' => [
      'plugin' => 'entity:source_entity_type',
    ],
  ],
];