user_access_denied_subscriber

Same name in other branches
  1. 9 core/modules/user/user.services.yml \user_access_denied_subscriber
  2. 10 core/modules/user/user.services.yml \user_access_denied_subscriber
  3. 11.x core/modules/user/user.services.yml \user_access_denied_subscriber

Class

Drupal\user\EventSubscriber\AccessDeniedSubscriber

Tags

  • event_subscriber

File

core/modules/user/user.services.yml

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

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