You are here

public function None::useCountQuery in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::useCountQuery()
  2. 9 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::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/None.php, line 65

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function useCountQuery() {
  return FALSE;
}