InstallerTranslationMultipleLanguageForeignTest.php
Same filename and directory in other branches
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
Namespace
Drupal\FunctionalTests\InstallerFile
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationMultipleLanguageForeignTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\FunctionalTests\Installer;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
/**
* Tests translation files for multiple languages get imported during install.
*/
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() : void {
parent::setUpLanguage();
$this->translations['Save and continue'] = 'Save and continue de';
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| InstallerTranslationMultipleLanguageForeignTest | Tests translation files for multiple languages get imported during install. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.