You are here

public function Pagerer::getLimit in Pagerer 8

Gets the items per page.

Return value

int The number of items (records) in each page.

Overrides PagererInterface::getLimit

File

src/Pagerer.php, line 188

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

public function getLimit() {
  global $pager_limits;
  return isset($pager_limits[$this->element]) ? $pager_limits[$this->element] : 0;
}