function PagerManager::findPage

Same name in other branches
  1. 10 core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::findPage()
  2. 11.x core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::findPage()

Overrides PagerManagerInterface::findPage

File

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

Class

PagerManager
Provides a manager for pagers.

Namespace

Drupal\Core\Pager

Code

public function findPage(int $pager_id = 0) : int {
    return $this->pagerParams
        ->findPage($pager_id);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.