You are here

public function Some::useCountQuery 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::useCountQuery()

Determine if a pager needs a count query.

If a pager needs a count query, a simple query

Overrides PagerPluginBase::useCountQuery

File

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

Class

Some
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function useCountQuery() {
  return FALSE;
}