You are here

protected function FacetApiAutocompleteController::setRequestStack in Select 2 8

Set the request stack.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack object.

File

modules/select2_facets/src/Controller/FacetApiAutocompleteController.php, line 95

Class

FacetApiAutocompleteController
Defines a route controller for facets autocomplete form elements.

Namespace

Drupal\select2_facets\Controller

Code

protected function setRequestStack(RequestStack $requestStack) {
  $this->requestStack = $requestStack;
}