You are here

function PagerPluginBase::use_count_query in Views (for Drupal 7) 8.3

Determine if a pager needs a count query.

If a pager needs a count query, a simple query

2 methods override PagerPluginBase::use_count_query()
None::use_count_query in lib/Drupal/views/Plugin/views/pager/None.php
Determine if a pager needs a count query.
Some::use_count_query in lib/Drupal/views/Plugin/views/pager/Some.php
Determine if a pager needs a count query.

File

lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php, line 159
Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.

Class

PagerPluginBase
The base plugin to handle pager.

Namespace

Drupal\views\Plugin\views\pager

Code

function use_count_query() {
  return TRUE;
}