You are here

public function ViewsConfigUpdater::needsOperatorDefaultsUpdate in Drupal 8

Same name and namespace in other branches
  1. 9 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.

File

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

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) {
    return $this
      ->processOperatorDefaultsHandler($handler, $handler_type);
  });
}