You are here

public function PagerManager::getMaxPagerElementId in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::getMaxPagerElementId()

Gets the extent of the pager page element IDs.

Return value

int The maximum element ID available, -1 if there are no elements.

Overrides PagerManagerInterface::getMaxPagerElementId

2 calls to PagerManager::getMaxPagerElementId()
PagerManager::getUpdatedParameters in core/lib/Drupal/Core/Pager/PagerManager.php
Gets the URL query parameter array of a pager link.
PagerManager::reservePagerElementId in core/lib/Drupal/Core/Pager/PagerManager.php
Reserve a pager element ID.

File

core/lib/Drupal/Core/Pager/PagerManager.php, line 103

Class

PagerManager
Provides a manager for pagers.

Namespace

Drupal\Core\Pager

Code

public function getMaxPagerElementId() {
  return $this->maxPagerElementId;
}