function FieldItemListInterface::getFieldDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getFieldDefinition()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getFieldDefinition()
- 11.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getFieldDefinition()
Gets the field definition.
Return value
\Drupal\Core\Field\FieldDefinitionInterface The field definition.
1 method overrides FieldItemListInterface::getFieldDefinition()
- FieldItemList::getFieldDefinition in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php - Gets the field definition.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemListInterface.php, line 63
Class
- FieldItemListInterface
- Interface for fields, being lists of 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.