public function Pagerer::__construct in Pagerer 8
Same name in this branch
- 8 src/Pagerer.php \Drupal\pagerer\Pagerer::__construct()
- 8 src/Plugin/views/pager/Pagerer.php \Drupal\pagerer\Plugin\views\pager\Pagerer::__construct()
Constructs a new Pagerer pager object.
Parameters
\Drupal\pagerer\PagererFactoryInterface $pagerer_factory: The Pagerer factory.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
File
- src/
Pagerer.php, line 69
Class
- Pagerer
- Pagerer pager management class.
Namespace
Drupal\pagererCode
public function __construct(PagererFactoryInterface $pagerer_factory, RequestStack $request_stack) {
$this->factory = $pagerer_factory;
$this->requestStack = $request_stack;
}