Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PagerPluginBase.php

function PagerPluginBase::getHeadingLevel

Get the pager heading tag.

Return value

string Heading level for the pager.

4 calls to PagerPluginBase::getHeadingLevel()
Full::render in core/modules/views/src/Plugin/views/pager/Full.php
Return the renderable array of the pager.
Full::render in core/modules/views/src/Plugin/views/pager/Full.php
Return the renderable array of the pager.
Mini::render in core/modules/views/src/Plugin/views/pager/Mini.php
Return the renderable array of the pager.
Mini::render in core/modules/views/src/Plugin/views/pager/Mini.php
Return the renderable array of the pager.

File

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

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function getHeadingLevel() : string {
    return $this->options['pagination_heading_level'] ?? 'h4';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal