protected function MaintenanceThemeUpdateRegistryTest::prepareSettings in Drupal 10
Prepares site settings and services before installation.
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,
],
],
]);
}