You are here

public function DESConnector::getClusterState in Elasticsearch Connector 8

Get cluster state.

Return value

array

1 call to DESConnector::getClusterState()
DESConnector::getClusterInfo in src/DESConnector/DESConnector.php
Return cluster info.

File

src/DESConnector/DESConnector.php, line 169
Provides Elasticsearch Client for Drupal's Elasticsearch Connector module.

Class

DESConnector
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public function getClusterState() {
  return $this
    ->getCluster()
    ->state();
}