You are here

service user_maintenance_mode_subscriber in Drupal 10

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

Class

Drupal\user\EventSubscriber\MaintenanceModeSubscriber

Tags

  • event_subscriber

File

core/modules/user/user.services.yml
core/modules/user/user.services.yml

View source
  1. class: Drupal\user\EventSubscriber\MaintenanceModeSubscriber
  2. arguments:
  3. - '@maintenance_mode'
  4. - '@current_user'
  5. tags:
  6. - { name: event_subscriber }