You are here

public function FieldItemListInterface::deleteRevision in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::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.

1 method overrides FieldItemListInterface::deleteRevision()
FieldItemList::deleteRevision in core/lib/Drupal/Core/Field/FieldItemList.php
Defines custom revision delete behavior for field values.

File

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

Class

FieldItemListInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Field

Code

public function deleteRevision();