You are here

public function ContentEntityNullStorage::deleteRevision in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::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 ContentEntityStorageBase::deleteRevision

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 49
Contains \Drupal\Core\Entity\ContentEntityNullStorage.

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function deleteRevision($revision_id) {
}