You are here

public function FieldItemBase::deleteRevision in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::deleteRevision()
  2. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::deleteRevision()

Defines custom revision delete behavior for field values.

This method is called from during the process of deleting an entity revision, just before the field values are deleted from storage. It is only called for entity types that support revisioning.

Overrides FieldItemInterface::deleteRevision

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 214

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public function deleteRevision() {
}