You are here

public function EntityFieldAccessEvent::getFieldDefinition 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::getFieldDefinition()

Get the field definition.

Return value

\Drupal\Core\Field\FieldDefinitionInterface The field definition.

File

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

Class

EntityFieldAccessEvent
Class EntityInsertEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getFieldDefinition() : FieldDefinitionInterface {
  return $this->fieldDefinition;
}