public function PagerManagerInterface::getPager in Drupal 9
Same name and namespace in other branches
- 8 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.
1 method overrides PagerManagerInterface::getPager()
- PagerManager::getPager in core/
lib/ Drupal/ Core/ Pager/ PagerManager.php - Gets a pager from the static cache.
File
- core/
lib/ Drupal/ Core/ Pager/ PagerManagerInterface.php, line 121
Class
- PagerManagerInterface
- This is a service for pager information.
Namespace
Drupal\Core\PagerCode
public function getPager($element = 0);