function FieldItemInterface::delete

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::delete()
  2. 10 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::delete()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.