You are here

public function UserLoginEvent::getAccount in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/user_event_dispatcher/src/Event/User/UserLoginEvent.php \Drupal\user_event_dispatcher\Event\User\UserLoginEvent::getAccount()

Get the account.

Return value

\Drupal\Core\Session\AccountInterface Account.

File

modules/user_event_dispatcher/src/Event/User/UserLoginEvent.php, line 38

Class

UserLoginEvent
Class UserLoginEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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