function InstallerExistingConfigTest::setUpSettings

Same name in other branches
  1. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigTest::setUpSettings()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigTest::setUpSettings()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigTest::setUpSettings()

Overrides InstallerTestBase::setUpSettings

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php, line 25

Class

InstallerExistingConfigTest
Verifies that installing from existing configuration works.

Namespace

Drupal\FunctionalTests\Installer

Code

public function setUpSettings() {
    // The configuration is from a site installed in French.
    // So after selecting the profile the installer detects that the site must
    // be installed in French, thus we change the button translation.
    $this->translations['Save and continue'] = 'Enregistrer et continuer';
    parent::setUpSettings();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.