maintenance_mode_subscriber

Same name in other branches
  1. 8.9.x core/core.services.yml \maintenance_mode_subscriber
  2. 10 core/core.services.yml \maintenance_mode_subscriber

Class

Drupal\Core\EventSubscriber\MaintenanceModeSubscriber

Tags

  • event_subscriber

File

core/core.services.yml

View source
  1. class: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber
  2. arguments:
  3. - '@maintenance_mode'
  4. - '@config.factory'
  5. - '@string_translation'
  6. - '@url_generator'
  7. - '@current_user'
  8. - '@bare_html_page_renderer'
  9. - '@messenger'
  10. - '@event_dispatcher'
  11. tags:
  12. - { name: event_subscriber }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.