public function EntityStorageInterface::deleteRevision in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::deleteRevision()
Delete a specific entity revision.
A revision can only be deleted if it's not the currently active one.
Parameters
int $revision_id: The revision id.
3 methods override EntityStorageInterface::deleteRevision()
- ConfigEntityStorage::deleteRevision in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Delete a specific entity revision.
- ContentEntityStorageBase::deleteRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - Delete a specific entity revision.
- KeyValueEntityStorage::deleteRevision in core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorage.php - Delete a specific entity revision.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityStorageInterface.php, line 98 - Contains \Drupal\Core\Entity\EntityStorageInterface.
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function deleteRevision($revision_id);