You are here

protected property VariableTranslationTest::$migrationConfiguration in Drupal 8

Define bare minimum migration configuration.

Overrides MigrateTestCase::$migrationConfiguration

File

core/modules/migrate_drupal/tests/src/Unit/source/d6/VariableTranslationTest.php, line 22

Class

VariableTranslationTest
Tests the variable source plugin.

Namespace

Drupal\Tests\migrate_drupal\Unit\source\d6

Code

protected $migrationConfiguration = [
  'id' => 'test',
  'highWaterProperty' => [
    'field' => 'test',
  ],
  'source' => [
    'plugin' => 'variable_translation',
    'variables' => [
      'site_slogan',
      'site_name',
    ],
  ],
];