user_maintenance_mode_subscriber

Same name in other branches
  1. 8.9.x core/modules/user/user.services.yml \user_maintenance_mode_subscriber
  2. 10 core/modules/user/user.services.yml \user_maintenance_mode_subscriber
  3. 11.x 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

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

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