You are here

public function PagerPluginBase::useCountQuery in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery()

Determine if a pager needs a count query.

If a pager needs a count query, a simple query

3 methods override PagerPluginBase::useCountQuery()
Mini::useCountQuery in core/modules/views/src/Plugin/views/pager/Mini.php
Determine if a pager needs a count query.
None::useCountQuery in core/modules/views/src/Plugin/views/pager/None.php
Determine if a pager needs a count query.
Some::useCountQuery in core/modules/views/src/Plugin/views/pager/Some.php
Determine if a pager needs a count query.

File

core/modules/views/src/Plugin/views/pager/PagerPluginBase.php, line 151
Contains \Drupal\views\Plugin\views\pager\PagerPluginBase.

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function useCountQuery() {
  return TRUE;
}