function FieldItemBase::delete

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::delete()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::delete()
  3. 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::delete()

Overrides FieldItemInterface::delete

2 methods override FieldItemBase::delete()
FieldTestItem::delete in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.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 218

Class

FieldItemBase
An entity field item.

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.