You are here

service maintenance_mode in Drupal 8

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

Class

Drupal\Core\Site\MaintenanceMode
4 string references to maintenance_mode
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().
update_authorize_update_batch_finished in core/modules/update/update.authorize.inc
Batch callback: Performs actions when the authorized update batch is done.

File

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

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