Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsConfigUpdater.php

function ViewsConfigUpdater::updateAll

Performs all required updates.

Parameters

\Drupal\views\ViewEntityInterface $view: The View to update.

Return value

bool Whether the view was updated.

File

core/modules/views/src/ViewsConfigUpdater.php, line 128

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function updateAll(ViewEntityInterface $view) {
    return $this->processDisplayHandlers($view, FALSE, function (&$handler, $handler_type, $key, $display_id) use ($view) {
        $changed = FALSE;
        if ($this->processEntityArgumentUpdate($view)) {
            $changed = TRUE;
        }
        return $changed;
    });
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal