function MaintenanceThemeUpdateRegistryTest::prepareSettings
Same name in other branches
- 10 core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php \Drupal\Tests\system\Functional\Theme\MaintenanceThemeUpdateRegistryTest::prepareSettings()
- 11.x core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php \Drupal\Tests\system\Functional\Theme\MaintenanceThemeUpdateRegistryTest::prepareSettings()
Overrides FunctionalTestSetupTrait::prepareSettings
File
-
core/
modules/ system/ tests/ src/ Functional/ Theme/ MaintenanceThemeUpdateRegistryTest.php, line 25
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.