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