You are here

public function SearchApiSubscriber::__construct in Facets 8

Same name in this branch
  1. 8 src/EventSubscriber/SearchApiSubscriber.php \Drupal\facets\EventSubscriber\SearchApiSubscriber::__construct()
  2. 8 modules/facets_summary/src/EventSubscriber/SearchApiSubscriber.php \Drupal\facets_summary\EventSubscriber\SearchApiSubscriber::__construct()

Constructs a new class instance.

Parameters

\Drupal\facets\FacetManager\DefaultFacetManager $facetManager: The messenger.

File

src/EventSubscriber/SearchApiSubscriber.php, line 23

Class

SearchApiSubscriber

Namespace

Drupal\facets\EventSubscriber

Code

public function __construct(DefaultFacetManager $facetManager) {
  $this->facetManager = $facetManager;
}