function PagerPluginBase::useCountQuery
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery()
- 8.9.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery()
- 11.x 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 - None::useCountQuery in core/
modules/ views/ src/ Plugin/ views/ pager/ None.php - Some::useCountQuery in core/
modules/ views/ src/ Plugin/ views/ pager/ Some.php
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 176
Class
- PagerPluginBase
- Base class for views pager plugins.
Namespace
Drupal\views\Plugin\views\pagerCode
public function useCountQuery() {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.