You are here

function views_revisions_view_delete in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8 modules/views_revisions/views_revisions.module \views_revisions_view_delete()

Implements hook_ENTITY_TYPE_delete().

File

modules/views_revisions/views_revisions.module, line 118

Code

function views_revisions_view_delete(ViewsRevisions $view) {
  $controller = ViewsRevisionsController::create(\Drupal::getContainer());
  $controller
    ->deleteRevisions($view);
}