UserRequestSubscriber::$account

Same name in other branches
  1. 8.9.x core/modules/user/src/EventSubscriber/UserRequestSubscriber.php \Drupal\user\EventSubscriber\UserRequestSubscriber::account
  2. 10 core/modules/user/src/EventSubscriber/UserRequestSubscriber.php \Drupal\user\EventSubscriber\UserRequestSubscriber::account
  3. 11.x core/modules/user/src/EventSubscriber/UserRequestSubscriber.php \Drupal\user\EventSubscriber\UserRequestSubscriber::account

The current account.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/user/src/EventSubscriber/UserRequestSubscriber.php, line 22

Class

UserRequestSubscriber
Updates the current user's last access time.

Namespace

Drupal\user\EventSubscriber

Code

protected $account;

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