function InstallerExistingConfigTest::setUpSettings

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

Overrides InstallerTestBase::setUpSettings

File

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

Class

InstallerExistingConfigTest
Verifies that installing from existing configuration works.

Namespace

Drupal\FunctionalTests\Installer

Code

public function setUpSettings() : void {
    // 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.