function AccountSetEvent::getAccount

Same name in other branches
  1. 9 core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::getAccount()
  2. 10 core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::getAccount()
  3. 11.x core/lib/Drupal/Core/Session/AccountSetEvent.php \Drupal\Core\Session\AccountSetEvent::getAccount()

Gets the account.

Return value

\Drupal\Core\Session\AccountInterface The account.

File

core/lib/Drupal/Core/Session/AccountSetEvent.php, line 35

Class

AccountSetEvent
Event fired when an account is set for the current session.

Namespace

Drupal\Core\Session

Code

public function getAccount() {
    return $this->account;
}

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