public function FieldItemInterface::deleteRevision in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::deleteRevision()
- 10 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\FieldCode
public function deleteRevision();