You are here

public function FieldItemInterface::deleteRevision in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 235
Contains \Drupal\Core\Field\FieldItemInterface.

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function deleteRevision();