public EntityStorageInterface::deleteRevision($revision_id)
Delete a specific entity revision.
A revision can only be deleted if it's not the currently active one.
int $revision_id: The revision id.
public function deleteRevision($revision_id);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityStorageInterface.php/function/EntityStorageInterface::deleteRevision/8.1.x