function ViewsConfigUpdater::needsOperatorDefaultsUpdate

Same name in other branches
  1. 8.9.x core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::needsOperatorDefaultsUpdate()

Add additional settings to the entity link field.

Parameters

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

Return value

bool Whether the view was updated.

Deprecated

in drupal:9.0.0 and is removed from drupal:10.0.0. Module-provided Views configuration should be updated to accommodate the changes described below.

See also

https://www.drupal.org/node/2869168

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function needsOperatorDefaultsUpdate(ViewEntityInterface $view) {
    return $this->processDisplayHandlers($view, TRUE, function (&$handler, $handler_type) use ($view) {
        return $this->processOperatorDefaultsHandler($handler, $handler_type, $view);
    });
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.