function MigrateLanguageContentSettingsTest::setUp

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

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php, line 34

Class

MigrateLanguageContentSettingsTest
Tests the migration of language-related settings.

Namespace

Drupal\Tests\language\Kernel\Migrate\d6

Code

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

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