You are here

public function UserLogoutEvent::getAccount in Hook Event Dispatcher 3.x

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

Get the account.

Return value

\Drupal\Core\Session\AccountInterface Account.

File

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

Class

UserLogoutEvent
Class UserLogoutEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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