You are here

protected function InstallerTranslationMultipleLanguageForeignTest::setUpLanguage in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest::setUpLanguage()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest::setUpLanguage()

Installer step: Select language.

Overrides InstallerTranslationMultipleLanguageTest::setUpLanguage

See also

\Drupal\Core\Installer\Form\SelectLanguageForm

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php, line 27

Class

InstallerTranslationMultipleLanguageForeignTest
Tests translation files for multiple languages get imported during install.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpLanguage() {
  parent::setUpLanguage();
  $this->translations['Save and continue'] = 'Save and continue de';
}