Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldItemInterface.php

function 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 233

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public function deleteRevision();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal