You are here

public function EntityAccessEvent::getAccount in Hook Event Dispatcher 8

Get the account.

Return value

\Drupal\Core\Session\AccountInterface The account.

File

src/Event/Entity/EntityAccessEvent.php, line 69

Class

EntityAccessEvent
Class EntityAccessEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

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