function InstallerSiteConfigProfileTest::installParameters

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

Overrides InstallerTestBase::installParameters

File

core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php, line 41

Class

InstallerSiteConfigProfileTest
Verifies that the installer uses the profile's site configuration.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function installParameters() {
    $parameters = parent::installParameters();
    // Don't override the site email address, allowing it to default to the one
    // from our install profile.
    unset($parameters['forms']['install_configure_form']['site_mail']);
    return $parameters;
}

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