function PagerManager::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::__construct()
  2. 8.9.x core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::__construct()
  3. 10 core/lib/Drupal/Core/Pager/PagerManager.php \Drupal\Core\Pager\PagerManager::__construct()

Construct a PagerManager object.

Parameters

\Drupal\Core\Pager\PagerParametersInterface $pager_params: The pager parameters.

File

core/lib/Drupal/Core/Pager/PagerManager.php, line 47

Class

PagerManager
Provides a manager for pagers.

Namespace

Drupal\Core\Pager

Code

public function __construct(PagerParametersInterface $pager_params) {
    $this->pagerParams = $pager_params;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.