You are here

protected property AccessDeniedSubscriber::$account in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php \Drupal\user\EventSubscriber\AccessDeniedSubscriber::account

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php, line 36
Contains \Drupal\user\EventSubscriber\AccessDeniedSubscriber.

Class

AccessDeniedSubscriber
Redirects users when access is denied.

Namespace

Drupal\user\EventSubscriber

Code

protected $account;