public function EntityStorageInterface::deleteRevision
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\EntityCode
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