Determine if a pager needs a count query.
If a pager needs a count query, a simple query
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/PagerPluginBase.php, line 172
- Definition of Drupal\views\Plugin\views\pager\PagerPluginBase.
Class
- PagerPluginBase
- The base plugin to handle pager.
Namespace
Drupal\views\Plugin\views\pager
Code
public function useCountQuery() {
return TRUE;
}