You are here

public function KeyValueEntityStorage::deleteRevision in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage::deleteRevision()

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 141
Contains \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage.

Class

KeyValueEntityStorage
Provides a key value backend for entities.

Namespace

Drupal\Core\Entity\KeyValueStore

Code

public function deleteRevision($revision_id) {
  return NULL;
}