You are here

public function PagerManager::getPager in Drupal 10

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

File

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

Class

PagerManager
Provides a manager for pagers.

Namespace

Drupal\Core\Pager

Code

public function getPager($element = 0) {
  return $this->pagers[$element] ?? NULL;
}