You are here

public function EntityFieldValueAccessDeniedEvent::getEntity in Permissions by Term 8.2

Same name and namespace in other branches
  1. 8 modules/permissions_by_entity/src/Event/EntityFieldValueAccessDeniedEvent.php \Drupal\permissions_by_entity\Event\EntityFieldValueAccessDeniedEvent::getEntity()

Returns the entity.

Return value

\Drupal\Core\Entity\FieldableEntityInterface A fieldable entity.

File

modules/permissions_by_entity/src/Event/EntityFieldValueAccessDeniedEvent.php, line 80

Class

EntityFieldValueAccessDeniedEvent
Class EntityFieldValueAccessDeniedEvent.

Namespace

Drupal\permissions_by_entity\Event

Code

public function getEntity() {
  return $this->entity;
}