You are here

public function EntityAccessEvent::getAccessResult in Hook Event Dispatcher 8.2

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

Get the access result.

Return value

\Drupal\Core\Access\AccessResultInterface The access result.

File

modules/core_event_dispatcher/src/Event/Entity/EntityAccessEvent.php, line 79

Class

EntityAccessEvent
Class EntityAccessEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getAccessResult() : AccessResultInterface {
  return $this->accessResult;
}