function FieldItemListInterface::deleteRevision
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::deleteRevision()
- 10 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::deleteRevision()
- 11.x 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\FieldCode
public function deleteRevision();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.