function PagerPluginBase::getCurrentPage
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getCurrentPage()
- 8.9.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getCurrentPage()
- 11.x core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getCurrentPage()
Get the current page.
If NULL, we do not know what the current page is.
3 calls to PagerPluginBase::getCurrentPage()
- Mini::postExecute in core/
modules/ views/ src/ Plugin/ views/ pager/ Mini.php - Mini::query in core/
modules/ views/ src/ Plugin/ views/ pager/ Mini.php - SqlBase::updatePageInfo in core/
modules/ views/ src/ Plugin/ views/ pager/ SqlBase.php - Update global paging info.
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ PagerPluginBase.php, line 111
Class
- PagerPluginBase
- Base class for views pager plugins.
Namespace
Drupal\views\Plugin\views\pagerCode
public function getCurrentPage() {
return $this->current_page;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.