public EntityStorageInterface::deleteRevision($revision_id)
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.
File
- core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 93
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\Entity
Code
public function deleteRevision($revision_id);
Please login to continue.