function PagerPluginBase::setHeadingLevel

Same name and namespace in other branches
  1. 10 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::setHeadingLevel()

Set the pager heading.

File

core/modules/views/src/Plugin/views/pager/PagerPluginBase.php, line 102

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function setHeadingLevel($headingLevel) : void {
    $this->options['pagination_heading_level'] = $headingLevel;
}

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