function MigrateFieldOptionTranslationTest::setUp

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldOptionTranslationTest.php, line 38

Class

MigrateFieldOptionTranslationTest
Migrate field option translations.

Namespace

Drupal\Tests\field\Kernel\Migrate\d7

Code

protected function setUp() : void {
    parent::setUp();
    $this->executeMigrations([
        'language',
        'd7_field',
        'd7_field_option_translation',
    ]);
}

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