You are here

public function FieldItemInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::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.

1 method overrides FieldItemInterface::delete()
FieldItemBase::delete in core/lib/Drupal/Core/Field/FieldItemBase.php
Defines custom delete behavior for field values.

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 221

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function delete();