You are here

public function FieldItemInterface::getFieldDefinition in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getFieldDefinition()
  2. 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getFieldDefinition()

Gets the field definition.

Return value

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

1 method overrides FieldItemInterface::getFieldDefinition()
FieldItemBase::getFieldDefinition in core/lib/Drupal/Core/Field/FieldItemBase.php
Gets the field definition.

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 112

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function getFieldDefinition();