public function SearchApiQueryPreExecute::__construct in JSON:API Search API 8
Constructs a new event subscriber.
Parameters
\Drupal\facets\FacetManager\DefaultFacetManager $facet_manager: The facet manager.
File
- modules/
jsonapi_search_api_facets/ src/ EventSubscriber/ SearchApiQueryPreExecute.php, line 29
Class
- SearchApiQueryPreExecute
- Adds Facets support to a Search API Query.
Namespace
Drupal\jsonapi_search_api_facets\EventSubscriberCode
public function __construct(DefaultFacetManager $facet_manager) {
$this->facetManager = $facet_manager;
}