public function SearchApiFederatedSolrRoutes::__construct in Search API Federated Solr 8
Same name and namespace in other branches
- 8.3 src/Routing/SearchApiFederatedSolrRoutes.php \Drupal\search_api_federated_solr\Routing\SearchApiFederatedSolrRoutes::__construct()
- 8.2 src/Routing/SearchApiFederatedSolrRoutes.php \Drupal\search_api_federated_solr\Routing\SearchApiFederatedSolrRoutes::__construct()
- 4.x src/Routing/SearchApiFederatedSolrRoutes.php \Drupal\search_api_federated_solr\Routing\SearchApiFederatedSolrRoutes::__construct()
Constructs a new SearchApiRoutes object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.
File
- src/
Routing/ SearchApiFederatedSolrRoutes.php, line 43 - Contains Drupal\search_api_federated_solr\Routing\SearchApiFederatedSolrRoutes.
Class
- SearchApiFederatedSolrRoutes
- Defines a route subscriber to register a url for serving search pages.
Namespace
Drupal\search_api_federated_solr\RoutingCode
public function __construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager) {
$this->entityManager = $entity_manager;
$this->languageManager = $language_manager;
}