function ViewsConfigUpdater::needsFormatPluralUpdate

Checks for fields with the format plural option set.

Parameters

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

Return value

bool TRUE if view has fields with the format plural option.

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

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

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