diff --git a/core/modules/rest/rest.install b/core/modules/rest/rest.install index 60ef249..78e1ca9 100644 --- a/core/modules/rest/rest.install +++ b/core/modules/rest/rest.install @@ -33,8 +33,8 @@ function rest_requirements($phase) { function rest_update_8001() { $config_factory = \Drupal::configFactory(); foreach ($config_factory->listAll('views.view.') as $view_config_name) { + $save = FALSE; $view = $config_factory->getEditable($view_config_name); - $displays = $view->get('display'); foreach ($displays as $display_name => &$display) { if ($display['display_plugin'] == 'rest_export') {