public function ConfigEntityRevisionsDeleteFormBase::performDeletion in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsDeleteFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDeleteFormBase::performDeletion()
- 1.x 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_revisionsCode
public function performDeletion() {
$this->controller
->deleteRevision($this->revision);
}