function PagerPluginBase::query
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::query()
- 8.9.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::query()
- 11.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::query()
Modify the query for paging.
This is called during the build phase and can directly modify the query.
Overrides PluginBase::query
3 methods override PagerPluginBase::query()
- None::query in core/
modules/ views/ src/ Plugin/ views/ pager/ None.php - Modify the query for paging.
- Some::query in core/
modules/ views/ src/ Plugin/ views/ pager/ Some.php - Modify the query for paging.
- SqlBase::query in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - Modify the query for paging.
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 211
Class
- PagerPluginBase
- Base class for views pager plugins.
Namespace
Drupal\views\Plugin\views\pagerCode
public function query() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.