function PagerPluginBase::usePager

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::usePager()
  2. 10 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::usePager()
  3. 11.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::usePager()

Determine if this pager actually uses a pager.

Only a couple of very specific pagers will set this to false.

2 methods override PagerPluginBase::usePager()
None::usePager in core/modules/views/src/Plugin/views/pager/None.php
Determine if this pager actually uses a pager.
Some::usePager in core/modules/views/src/Plugin/views/pager/Some.php
Determine if this pager actually uses a pager.

File

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

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function usePager() {
    return TRUE;
}

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