You are here

public function ClusterManager::__construct in Elasticsearch Connector 8.6

Same name and namespace in other branches
  1. 8.7 src/ClusterManager.php \Drupal\elasticsearch_connector\ClusterManager::__construct()
  2. 8.5 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_connector

Code

public function __construct(StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
  $this->state = $state;
  $this->entityTypeManager = $entity_type_manager;
}