function FieldItemInterface::getFieldDefinition
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getFieldDefinition()
- 10 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::getFieldDefinition()
- 11.x 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\FieldCode
public function getFieldDefinition();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.