You are here

public function EntityFieldAccessEvent::getAccount in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/Event/Entity/EntityFieldAccessEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityFieldAccessEvent::getAccount()

Get the account interface.

Return value

\Drupal\Core\Session\AccountInterface Account interface.

File

modules/core_event_dispatcher/src/Event/Entity/EntityFieldAccessEvent.php, line 108

Class

EntityFieldAccessEvent
Class EntityInsertEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

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