function MaintenanceThemeUpdateRegistryTest::prepareSettings
Prepares site settings and services before installation.
Overrides FunctionalTestSetupTrait::prepareSettings
File
-
core/
modules/ system/ tests/ src/ Functional/ Theme/ MaintenanceThemeUpdateRegistryTest.php, line 27
Class
- MaintenanceThemeUpdateRegistryTest
- Ensures theme update functions are registered for maintenance themes.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected function prepareSettings() {
parent::prepareSettings();
$this->writeSettings([
'settings' => [
'maintenance_theme' => (object) [
'value' => 'test_theme_updates',
'required' => TRUE,
],
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.