You are here

service maintenance_mode in Drupal 10

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

Class

Drupal\Core\Site\MaintenanceMode
11 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.
drupal7.php in core/modules/tracker/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
SiteMaintenanceModeForm::buildForm in core/modules/system/src/Form/SiteMaintenanceModeForm.php
Form constructor.

... See full list

File

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

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