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