UserRequestSubscriber::$account
Same name in other branches
- 9 core/modules/user/src/EventSubscriber/UserRequestSubscriber.php \Drupal\user\EventSubscriber\UserRequestSubscriber::account
- 8.9.x core/modules/user/src/EventSubscriber/UserRequestSubscriber.php \Drupal\user\EventSubscriber\UserRequestSubscriber::account
- 10 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 23
Class
- UserRequestSubscriber
- Updates the current user's last access time.
Namespace
Drupal\user\EventSubscriberCode
protected $account;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.