function MigrateFieldInstanceOptionTranslationTest::setUp

Same name in this branch
  1. 10 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldInstanceOptionTranslationTest::setUp()
Same name in other branches
  1. 9 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldInstanceOptionTranslationTest::setUp()
  2. 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldInstanceOptionTranslationTest::setUp()
  3. 8.9.x core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldInstanceOptionTranslationTest::setUp()
  4. 11.x core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d6\MigrateFieldInstanceOptionTranslationTest::setUp()
  5. 11.x core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceOptionTranslationTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldInstanceOptionTranslationTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php, line 29

Class

MigrateFieldInstanceOptionTranslationTest
Migrate field instance option translations.

Namespace

Drupal\Tests\field\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'node',
    ]);
    $this->executeMigrations([
        'language',
        'd6_node_type',
        'd6_field',
        'd6_field_instance',
        'd6_field_option_translation',
        'd6_field_instance_option_translation',
    ]);
}

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