You are here

public function FieldItemListInterface::delete in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::delete()
  2. 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();