function FieldItemDataDefinitionInterface::getFieldDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinitionInterface.php \Drupal\Core\Field\TypedData\FieldItemDataDefinitionInterface::getFieldDefinition()
  2. 10 core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinitionInterface.php \Drupal\Core\Field\TypedData\FieldItemDataDefinitionInterface::getFieldDefinition()
  3. 11.x core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinitionInterface.php \Drupal\Core\Field\TypedData\FieldItemDataDefinitionInterface::getFieldDefinition()

Gets the field item's field definition.

Return value

\Drupal\Core\Field\FieldDefinitionInterface The field definition for this field item.

1 method overrides FieldItemDataDefinitionInterface::getFieldDefinition()
FieldItemDataDefinition::getFieldDefinition in core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php
Gets the field item's field definition.

File

core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinitionInterface.php, line 20

Class

FieldItemDataDefinitionInterface
Interface for field item data definitions.

Namespace

Drupal\Core\Field\TypedData

Code

public function getFieldDefinition();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.