protected function InstallerExistingConfigTestBase::installParameters in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php \Drupal\FunctionalTests\Installer\InstallerExistingConfigTestBase::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
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTestBase.php, line 88
Class
- InstallerExistingConfigTestBase
- Provides a base class for testing installing from existing configuration.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function installParameters() {
$parameters = parent::installParameters();
// The options that change configuration are disabled when installing from
// existing configuration.
unset($parameters['forms']['install_configure_form']['site_name']);
unset($parameters['forms']['install_configure_form']['site_mail']);
unset($parameters['forms']['install_configure_form']['update_status_module']);
return $parameters;
}