function MigrateLanguageContentMenuSettingsTest::setUp

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

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php, line 31

Class

MigrateLanguageContentMenuSettingsTest
Tests migration of the ability to translate menu content.

Namespace

Drupal\Tests\language\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    // Create some languages.
    ConfigurableLanguage::createFromLangcode('en')->save();
    ConfigurableLanguage::createFromLangcode('fr')->save();
    $this->executeMigrations([
        'language',
        'd6_language_content_menu_settings',
    ]);
}

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