function FieldItemList::processDefaultValue
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::processDefaultValue()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::processDefaultValue()
- 10 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::processDefaultValue()
Overrides FieldItemListInterface::processDefaultValue
3 calls to FieldItemList::processDefaultValue()
- DateRangeFieldItemList::processDefaultValue in core/
modules/ datetime_range/ src/ Plugin/ Field/ FieldType/ DateRangeFieldItemList.php - DateTimeFieldItemList::processDefaultValue in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeFieldItemList.php - EntityReferenceFieldItemList::processDefaultValue in core/
lib/ Drupal/ Core/ Field/ EntityReferenceFieldItemList.php
2 methods override FieldItemList::processDefaultValue()
- DateTimeFieldItemList::processDefaultValue in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeFieldItemList.php - EntityReferenceFieldItemList::processDefaultValue in core/
lib/ Drupal/ Core/ Field/ EntityReferenceFieldItemList.php
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemList.php, line 332
Class
- FieldItemList
- Represents an entity field; that is, a list of field item objects.
Namespace
Drupal\Core\FieldCode
public static function processDefaultValue($default_value, FieldableEntityInterface $entity, FieldDefinitionInterface $definition) {
return $default_value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.