You are here

public function Pager::getLimit in Drupal 9

Same name and namespace in other branches
  1. 8 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\Pager

Code

public function getLimit() {
  return $this->limit;
}