function PagerPluginBase::getHeadingLevel
Same name in other branches
- 11.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getHeadingLevel()
Get the pager heading tag.
Return value
string Heading level for the pager.
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 95
Class
- PagerPluginBase
- Base class for views pager plugins.
Namespace
Drupal\views\Plugin\views\pagerCode
public function getHeadingLevel() : string {
return $this->options['pagination_heading_level'] ?? 'h4';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.