You are here

public function PagerParameters::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}