function InstallerTranslationMultipleLanguageForeignTest::setUpLanguage

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest::setUpLanguage()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest::setUpLanguage()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest::setUpLanguage()

Overrides InstallerTranslationMultipleLanguageTest::setUpLanguage

File

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

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';
}

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