protected function InstallerTranslationMultipleLanguageTest::installParameters in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageTest::installParameters()
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageTest::installParameters()
Returns the parameters that will be used when the test installs Drupal.
Return value
array Array of parameters for use in install_drupal().
Overrides InstallerTestBase::installParameters
See also
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationMultipleLanguageTest.php, line 68
Class
- InstallerTranslationMultipleLanguageTest
- Tests translation files for multiple languages get imported during install.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function installParameters() {
$params = parent::installParameters();
$params['forms']['install_configure_form']['site_name'] = 'SITE_NAME_' . $this->langcode;
return $params;
}