public function UserFormatNameAlterEvent::getAccount in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x 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\UserCode
public function getAccount() : AccountInterface {
return $this->account;
}