You are here

service maintenance_mode in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \maintenance_mode
  2. 10 core/core.services.yml \maintenance_mode

Class

Drupal\Core\Site\MaintenanceMode
6 string references to maintenance_mode
DbUpdateController::batchFinished in core/modules/system/src/Controller/DbUpdateController.php
Finishes the update process and stores the results for eventual display.
DbUpdateController::triggerBatch in core/modules/system/src/Controller/DbUpdateController.php
Starts the database update batch process.
SiteMaintenanceModeForm::submitForm in core/modules/system/src/Form/SiteMaintenanceModeForm.php
Form submission handler.
UpdateReady::submitForm in core/modules/update/src/Form/UpdateReady.php
Form submission handler.
update_authorize_install_batch_finished in core/modules/update/update.authorize.inc
Implements callback_batch_finished().

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Site\MaintenanceMode
  2. arguments:
  3. - '@state'