public function ClusterManager::__construct in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/ClusterManager.php \Drupal\elasticsearch_connector\ClusterManager::__construct()
- 8.6 src/ClusterManager.php \Drupal\elasticsearch_connector\ClusterManager::__construct()
ClusterManager constructor.
Parameters
\Drupal\Core\State\StateInterface $state: The state storage service.
File
- src/
ClusterManager.php, line 33
Class
- ClusterManager
- ClusterManager service.
Namespace
Drupal\elasticsearch_connectorCode
public function __construct(StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
$this->state = $state;
$this->entityTypeManager = $entity_type_manager;
}