function SiteNameTest::installParameters
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::installParameters()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::installParameters()
- 11.x core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php \Drupal\FunctionalTests\Installer\SiteNameTest::installParameters()
Overrides FunctionalTestSetupTrait::installParameters
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ SiteNameTest.php, line 31
Class
- SiteNameTest
- Tests that the site name can be set during a non-interactive installation.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function installParameters() {
$this->siteName = $this->randomMachineName();
$parameters = parent::installParameters();
$parameters['forms']['install_configure_form']['site_name'] = $this->siteName;
return $parameters;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.