You are here

static function DESConnectorInterface::getInstance in Elasticsearch Connector 8

1 method overrides DESConnectorInterface::getInstance()
DESConnector::getInstance in src/DESConnector/DESConnector.php
Initializes the needed client.

File

src/DESConnector/DESConnectorInterface.php, line 16
Provides Elasticsearch interface for Drupal's Elasticsearch Connector module.

Class

DESConnectorInterface
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

static function getInstance(array $hosts);