You are here

public function Some::usePager in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/Some.php \Drupal\views\Plugin\views\pager\Some::usePager()

Determine if this pager actually uses a pager.

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

Overrides PagerPluginBase::usePager

File

core/modules/views/src/Plugin/views/pager/Some.php, line 59

Class

Some
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function usePager() {
  return FALSE;
}