You are here

function views_revisions_view_update in Config Entity Revisions 8

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

Implements hook_ENTITY_TYPE_update().

File

modules/views_revisions/views_revisions.module, line 110

Code

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