function PagerManagerInterface::getPager
Same name in other branches
- 9 core/lib/Drupal/Core/Pager/PagerManagerInterface.php \Drupal\Core\Pager\PagerManagerInterface::getPager()
- 8.9.x core/lib/Drupal/Core/Pager/PagerManagerInterface.php \Drupal\Core\Pager\PagerManagerInterface::getPager()
- 10 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
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.