class InstallerTranslationMultipleLanguageForeignTest

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest
  3. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageForeignTest

Tests translation files for multiple languages get imported during install.

@group Installer

Hierarchy

Expanded class hierarchy of InstallerTranslationMultipleLanguageForeignTest

File

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

Namespace

Drupal\FunctionalTests\Installer
View source
class InstallerTranslationMultipleLanguageForeignTest extends InstallerTranslationMultipleLanguageTest {
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * Overrides the language code in which to install Drupal.
   *
   * @var string
   */
  protected $langcode = 'de';
  
  /**
   * {@inheritdoc}
   */
  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.