You are here

protected function FacetApiAutocompleteController::setFacetManager in Select 2 8

Set the facet manager service.

Parameters

\Drupal\facets\FacetManager\DefaultFacetManager $facetManager: The facet manager.

File

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

Class

FacetApiAutocompleteController
Defines a route controller for facets autocomplete form elements.

Namespace

Drupal\select2_facets\Controller

Code

protected function setFacetManager(DefaultFacetManager $facetManager) {
  $this->facetManager = $facetManager;
}