function InstallerSkipPermissionHardeningTest::prepareEnvironment
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()
Overrides FunctionalTestSetupTrait::prepareEnvironment
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerSkipPermissionHardeningTest.php, line 22
Class
- InstallerSkipPermissionHardeningTest
- Verifies that the installer skipped permission hardening.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function prepareEnvironment() : void {
parent::prepareEnvironment();
$this->settings['settings']['skip_permissions_hardening'] = (object) [
'value' => TRUE,
'required' => TRUE,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.