You are here

protected function InstallerTranslationMultipleLanguageTest::installParameters in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageTest::installParameters()

Returns the parameters that will be used when Simpletest installs Drupal.

Return value

array Array of parameters for use in install_drupal().

Overrides FunctionalTestSetupTrait::installParameters

See also

install_drupal()

install_state_defaults()

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\Installer

Code

protected function installParameters() {
  $params = parent::installParameters();
  $params['forms']['install_configure_form']['site_name'] = 'SITE_NAME_' . $this->langcode;
  return $params;
}