function Pager::getCurrentPage
Same name in other branches
- 9 core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getCurrentPage()
- 10 core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getCurrentPage()
- 11.x core/lib/Drupal/Core/Pager/Pager.php \Drupal\Core\Pager\Pager::getCurrentPage()
Gets the current page.
Return value
int The current page.
File
-
core/
lib/ Drupal/ Core/ Pager/ Pager.php, line 107
Class
- Pager
- A value object that represents a pager.
Namespace
Drupal\Core\PagerCode
public function getCurrentPage() {
return $this->currentPage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.