You are here

protected function MigrateLanguageContentMenuSettingsTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentMenuSettingsTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageContentMenuSettingsTest::setUp()
  2. 10 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
  1. 8 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/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\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',
  ]);
}