function ViewsConfigUpdater::needsMinMaxLabelUpdate

Checks if a filter's expose section is missing min_label or max_label.

Parameters

\Drupal\views\ViewEntityInterface $view: The view entity.

Return value

bool TRUE if any filter needs the update.

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function needsMinMaxLabelUpdate(ViewEntityInterface $view) : bool {
  return $this->processDisplayHandlers($view, FALSE, function (&$handler, $handler_type) {
    return $this->processMinMaxLabelUpdate($handler, $handler_type);
  });
}

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