protected function MigrateLanguageContentMenuSettingsTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentMenuSettingsTest::setUp()
- 9 core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d7\MigrateLanguageContentMenuSettingsTest::setUp()
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentMenuSettingsTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d6/ MigrateLanguageContentMenuSettingsTest.php, line 29
Class
- MigrateLanguageContentMenuSettingsTest
- Tests migration of the ability to translate menu content.
Namespace
Drupal\Tests\language\Kernel\Migrate\d6Code
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',
]);
}