You are here

public function FieldItemBase::delete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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()
PathItem::delete in core/modules/path/src/Plugin/Field/FieldType/PathItem.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 209
Contains \Drupal\Core\Field\FieldItemBase.

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public function delete() {
}