function FieldItemListInterface::delete

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::delete()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::delete()
  3. 10 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::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 FieldItemListInterface::delete()
FieldItemList::delete in core/lib/Drupal/Core/Field/FieldItemList.php
Defines custom delete behavior for field values.

File

core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 163

Class

FieldItemListInterface
Interface for fields, being lists of 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.