public function ElasticsearchController::__construct in Elasticsearch Connector 8.7
Same name and namespace in other branches
- 8.2 src/Controller/ElasticsearchController.php \Drupal\elasticsearch_connector\Controller\ElasticsearchController::__construct()
- 8.5 src/Controller/ElasticsearchController.php \Drupal\elasticsearch_connector\Controller\ElasticsearchController::__construct()
- 8.6 src/Controller/ElasticsearchController.php \Drupal\elasticsearch_connector\Controller\ElasticsearchController::__construct()
ElasticsearchController constructor.
Parameters
\Drupal\elasticsearch_connector\ElasticSearch\ClientManagerInterface $client_manager: Elasticsearch client manager service.
File
- src/
Controller/ ElasticsearchController.php, line 28
Class
- ElasticsearchController
- Provides route responses for elasticsearch clusters.
Namespace
Drupal\elasticsearch_connector\ControllerCode
public function __construct(ClientManagerInterface $client_manager) {
$this->clientManager = $client_manager;
}