public function EntityAccessEvent::getAccount in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityAccessEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityAccessEvent::getAccount()
Get the account.
Return value
\Drupal\Core\Session\AccountInterface The account.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityAccessEvent.php, line 69
Class
- EntityAccessEvent
- Class EntityAccessEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function getAccount() : AccountInterface {
return $this->account;
}