You are here

public function UserFormatNameAlterEvent::getAccount in Hook Event Dispatcher 8

Get the account.

Return value

\Drupal\Core\Session\AccountInterface Account.

File

src/Event/User/UserFormatNameAlterEvent.php, line 68

Class

UserFormatNameAlterEvent
Class UserFormatNameAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\User

Code

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