public function DevelRouteSubscriber::__construct in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 modules/search_api_solr_devel/src/Routing/DevelRouteSubscriber.php \Drupal\search_api_solr_devel\Routing\DevelRouteSubscriber::__construct()
- 8.2 search_api_solr_devel/src/Routing/DevelRouteSubscriber.php \Drupal\search_api_solr_devel\Routing\DevelRouteSubscriber::__construct()
Constructs a new RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
File
- modules/
search_api_solr_devel/ src/ Routing/ DevelRouteSubscriber.php, line 30
Class
- DevelRouteSubscriber
- Subscriber for Search Api Solr routes.
Namespace
Drupal\search_api_solr_devel\RoutingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}