function MigrateFieldInstanceLabelDescriptionTest::setUp

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

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php, line 33

Class

MigrateFieldInstanceLabelDescriptionTest
Tests migration of field label and description translations.

Namespace

Drupal\Tests\field\Kernel\Migrate\d6

Code

public function setUp() {
    parent::setUp();
    $this->migrateFields();
    $this->installEntitySchema('node');
    $this->installConfig([
        'node',
    ]);
    $this->installSchema('node', [
        'node_access',
    ]);
    $this->installSchema('system', [
        'sequences',
    ]);
    $this->executeMigration('language');
    $this->executeMigration('d6_field_instance_label_description_translation');
}

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