You are here

function views_revisions_view_update in Config Entity Revisions 1.x

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