You are here

public function EntityFieldAccessEvent::getAccessResult in Hook Event Dispatcher 8

Get the access result.

Return value

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

File

src/Event/EntityField/EntityFieldAccessEvent.php, line 126

Class

EntityFieldAccessEvent
Class EntityInsertEvent.

Namespace

Drupal\hook_event_dispatcher\Event\EntityField

Code

public function getAccessResult() {
  return $this->accessResult ?: AccessResultNeutral::neutral();
}