i18nVariableTest::$migrationConfiguration

Define bare minimum migration configuration.

Type: migrationConfiguration

Overrides MigrateTestCase::$migrationConfiguration

File

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

Class

i18nVariableTest
Tests the variable source plugin.

Namespace

Drupal\Tests\migrate_drupal\Unit\source\d6

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.