You are here

public function ConfigEntityRevisionsDeleteFormBase::performDeletion in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsDeleteFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDeleteFormBase::performDeletion()
  2. 8 src/ConfigEntityRevisionsDeleteFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDeleteFormBase::performDeletion()

Delete the current revision.

File

src/ConfigEntityRevisionsDeleteFormBase.php, line 151

Class

ConfigEntityRevisionsDeleteFormBase
Provides a form for reverting a config entity revision.

Namespace

Drupal\config_entity_revisions

Code

public function performDeletion() {
  $this->controller
    ->deleteRevision($this->revision);
}