function FieldItemInterface::deleteRevision

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::deleteRevision()
  2. 10 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::deleteRevision()
  3. 11.x core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::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 FieldItemInterface::deleteRevision()
FieldItemBase::deleteRevision in core/lib/Drupal/Core/Field/FieldItemBase.php
Defines custom revision delete behavior for field values.

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 230

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function deleteRevision();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.