You are here

public static function DESConnector81::buildClusterUrl in Elasticsearch Connector 8

Builds the proper cluster URL based on the provided options.

Parameters

$cluster:

Return value

string

1 call to DESConnector81::buildClusterUrl()
DESConnector81::getInstance in src/DESConnector/DESConnector81.php
Initializes the needed client.

File

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

Class

DESConnector81
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public static function buildClusterUrl($cluster_url, $options) {
  return $cluster_url;
}