You are here

public function AbstractFieldThirdPartySettingsFormEvent::getFieldDefinition in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/field_event_dispatcher/src/Event/Field/AbstractFieldThirdPartySettingsFormEvent.php \Drupal\field_event_dispatcher\Event\Field\AbstractFieldThirdPartySettingsFormEvent::getFieldDefinition()

Get the field definition.

Return value

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

Deprecated

in hook_event_dispatcher:2.6.0 and is removed from hook_event_dispatcher:3.0.0. Use getFieldDefinition() instead.

See also

https://www.drupal.org/project/hook_event_dispatcher/issues/3189252

File

modules/field_event_dispatcher/src/Event/Field/AbstractFieldThirdPartySettingsFormEvent.php, line 64

Class

AbstractFieldThirdPartySettingsFormEvent
Class AbstractFieldThirdPartySettingsFormEvent.

Namespace

Drupal\field_event_dispatcher\Event\Field

Code

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