function ViewsConfigUpdater::needsPagerHeadingUpdate
Checks for each view if pagination_heading_level needs to be added.
Parameters
\Drupal\views\ViewEntityInterface $view: The view entity.
Return value
bool TRUE if the view has any displays that need to have pagination_heading_level added.
File
-
core/
modules/ views/ src/ ViewsConfigUpdater.php, line 630
Class
- ViewsConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\viewsCode
public function needsPagerHeadingUpdate(ViewEntityInterface $view) : bool {
return $this->processDisplayHandlers($view, FALSE, function (&$handler, $handler_type) {
return $this->processDefaultPagerHeadingUpdate($handler, $handler_type);
});
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.