MaintenanceModeSubscriber::$account

The current account.

Type: \Drupal\Core\Session\AccountInterface

File

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

Class

MaintenanceModeSubscriber
Maintenance mode subscriber to log out users.

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.