public function KeyValueEntityStorage::deleteRevision
public KeyValueEntityStorage::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.
Overrides EntityStorageInterface::deleteRevision
File
- core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 136
Class
- KeyValueEntityStorage
- Provides a key value backend for entities.
Namespace
Drupal\Core\Entity\KeyValueStoreCode
public function deleteRevision($revision_id) { return NULL; }
© 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!KeyValueStore!KeyValueEntityStorage.php/function/KeyValueEntityStorage::deleteRevision/8.1.x