You are here

public function DevelRouteSubscriber::__construct in Search API Solr 8

Constructs a new RouteSubscriber object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.

File

src/Routing/DevelRouteSubscriber.php, line 30

Class

DevelRouteSubscriber
Subscriber for Search Api Solr routes.

Namespace

Drupal\search_api_solr\Routing

Code

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