You are here

public function PagerManagerInterface::getPager in Drupal 10

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

Gets a pager from the static cache.

Parameters

int $element: The pager element index.

Return value

\Drupal\Core\Pager\Pager|null The pager, or null if not found.

File

core/lib/Drupal/Core/Pager/PagerManagerInterface.php, line 121

Class

PagerManagerInterface
This is a service for pager information.

Namespace

Drupal\Core\Pager

Code

public function getPager($element = 0);