function MigrateLanguageContentMenuSettingsTest::setUp
Same name in other branches
- 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()
- 10 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentMenuSettingsTest::setUp()
- 10 core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d7\MigrateLanguageContentMenuSettingsTest::setUp()
- 11.x core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentMenuSettingsTest::setUp()
- 11.x 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 29
Class
- MigrateLanguageContentMenuSettingsTest
- Tests migration of the ability to translate menu content.
Namespace
Drupal\Tests\language\Kernel\Migrate\d6Code
protected function setUp() {
parent::setUp();
// Create some languages.
ConfigurableLanguage::createFromLangcode('en')->save();
ConfigurableLanguage::createFromLangcode('fr')->save();
$this->executeMigrations([
'd6_language_content_menu_settings',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.