public function FieldItemBase::delete in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::delete()
- 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::delete()
Defines custom delete behavior for field values.
This method is called during the process of deleting an entity, just before values are deleted from storage.
Overrides FieldItemInterface::delete
2 methods override FieldItemBase::delete()
- FieldTestItem::delete in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ FieldType/ FieldTestItem.php - Defines custom delete behavior for field values.
- TestItem::delete in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItem.php - Defines custom delete behavior for field values.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 204
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public function delete() {
}