You are here

public function RevisionsManager::deleteRevision in Node Revisions Autoclean 8

Deletes a revision.

Parameters

int $revisionID: Revision ID to delete.

File

src/Services/RevisionsManager.php, line 179

Class

RevisionsManager
Class RevisionsManager.

Namespace

Drupal\node_revisions_autoclean\Services

Code

public function deleteRevision($revisionID) {
  $this
    ->deleteRevisions([
    $revisionID,
  ]);
}