function PagerParameters::getPagerQuery
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::getPagerQuery()
- 10 core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::getPagerQuery()
- 11.x core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::getPagerQuery()
Overrides PagerParametersInterface::getPagerQuery
1 call to PagerParameters::getPagerQuery()
- PagerParameters::findPage in core/
lib/ Drupal/ Core/ Pager/ PagerParameters.php - Returns the current page being requested for display within a pager.
File
-
core/
lib/ Drupal/ Core/ Pager/ PagerParameters.php, line 56
Class
- PagerParameters
- Provides pager information contained within the current request.
Namespace
Drupal\Core\PagerCode
public function getPagerQuery() {
$query = $this->getPagerParameter();
return !empty($query) ? explode(',', $query) : [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.