You are here

public function DESConnector::getCluster in Elasticsearch Connector 8

Return value

mixed

File

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

Class

DESConnector
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public function getCluster() {
  return $this
    ->getClient()
    ->cluster();
}