function PagerParameters::__construct

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

Construct a PagerManager object.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $stack: The current HTTP request stack.

File

core/lib/Drupal/Core/Pager/PagerParameters.php, line 28

Class

PagerParameters
Provides pager information contained within the current request.

Namespace

Drupal\Core\Pager

Code

public function __construct(RequestStack $stack) {
    $this->requestStack = $stack;
}

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