public function FieldItemList::getFieldDefinition in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()
- 9 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()
Gets the field definition.
Return value
\Drupal\Core\Field\FieldDefinitionInterface The field definition.
Overrides FieldItemListInterface::getFieldDefinition
13 calls to FieldItemList::getFieldDefinition()
- CommentFieldItemList::get in core/
modules/ comment/ src/ CommentFieldItemList.php - Returns the item at the specified position in this list.
- DateRangeFieldItemList::defaultValuesForm in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldType/ DateRangeFieldItemList.php - Returns a form for the default value input.
- DateTimeFieldItemList::defaultValuesForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeFieldItemList.php - Returns a form for the default value input.
- EntityReferenceFieldItemList::referencedEntities in core/
lib/ Drupal/ Core/ Field/ EntityReferenceFieldItemList.php - Gets the entities referenced by this field, preserving field item deltas.
- FieldItemList::access in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php - Checks data value access.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemList.php, line 70
Class
- FieldItemList
- Represents an entity field; that is, a list of field item objects.
Namespace
Drupal\Core\FieldCode
public function getFieldDefinition() {
return $this->definition;
}