You are here

protected function InstallerTranslationMultipleLanguageTest::installParameters in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationMultipleLanguageTest::installParameters()
  2. 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

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