You are here

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

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

Get the account.

Return value

\Drupal\Core\Session\AccountInterface Account.

File

modules/user_event_dispatcher/src/Event/User/UserFormatNameAlterEvent.php, line 57

Class

UserFormatNameAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\user_event_dispatcher\Event\User

Code

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