Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PagerManagerInterface.php

function 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\Pager

Code

public function getPager($element = 0);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal