service maintenance_mode_subscriber in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \maintenance_mode_subscriber
- 9 core/core.services.yml \maintenance_mode_subscriber
Class
Drupal\Core\EventSubscriber\MaintenanceModeSubscriberTags
- event_subscriber
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber
- arguments:
- - '@maintenance_mode'
- - '@config.factory'
- - '@string_translation'
- - '@url_generator'
- - '@current_user'
- - '@bare_html_page_renderer'
- - '@messenger'
- - '@event_dispatcher'
- tags:
- - { name: event_subscriber }