function KeyValueContentEntityStorage::deleteRevision
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage::deleteRevision()
Deletes a specific entity revision.
A revision can only be deleted if it's not the currently active one.
Parameters
int|string $revision_id: The revision ID.
Overrides RevisionableStorageInterface::deleteRevision
File
-
core/
lib/ Drupal/ Core/ Entity/ KeyValueStore/ KeyValueContentEntityStorage.php, line 81
Class
- KeyValueContentEntityStorage
- Provides a key value backend for content entities.
Namespace
Drupal\Core\Entity\KeyValueStoreCode
public function deleteRevision($revision_id) {
return NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.