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\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

modules/facets_summary/src/EventSubscriber/SearchApiSubscriber.php, line 23

Class

SearchApiSubscriber

Namespace

Drupal\facets_summary\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}