You are here

protected property MaintenanceModeSubscriber::$account in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::account
  2. 9 core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\user\EventSubscriber\MaintenanceModeSubscriber::account
Same name and namespace in other branches
  1. 8 core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\user\EventSubscriber\MaintenanceModeSubscriber::account

The current account.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php, line 31

Class

MaintenanceModeSubscriber
Maintenance mode subscriber to log out users.

Namespace

Drupal\user\EventSubscriber

Code

protected $account;