You are here

function views_revisions_view_delete in Config Entity Revisions 8

Same name and namespace in other branches
  1. 1.x 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);
}