You are here

public function EntityFieldAccessEvent::getFieldDefinition in Hook Event Dispatcher 8

Get the field definition.

Return value

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

File

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

Class

EntityFieldAccessEvent
Class EntityInsertEvent.

Namespace

Drupal\hook_event_dispatcher\Event\EntityField

Code

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