You are here

protected function FacetApiAutocompleteController::setRouter in Select 2 8

Set the router.

Parameters

\Drupal\Core\Routing\AccessAwareRouterInterface $router: The router object.

File

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

Class

FacetApiAutocompleteController
Defines a route controller for facets autocomplete form elements.

Namespace

Drupal\select2_facets\Controller

Code

protected function setRouter(AccessAwareRouterInterface $router) {
  $this->router = $router;
}