public function UserCancelEvent::getAccount in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/user_event_dispatcher/src/Event/User/UserCancelEvent.php \Drupal\user_event_dispatcher\Event\User\UserCancelEvent::getAccount()
Get the account.
Return value
\Drupal\Core\Session\AccountInterface Account.
File
- modules/
user_event_dispatcher/ src/ Event/ User/ UserCancelEvent.php, line 66
Class
- UserCancelEvent
- Class UserCancelEvent.
Namespace
Drupal\user_event_dispatcher\Event\UserCode
public function getAccount() : AccountInterface {
return $this->account;
}