You are here

public function SolrConnectorInterface::createEndpoint in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::createEndpoint()

Creates an endpoint.

Parameters

string $key: The endpoint ID.

array $additional_configuration: Configuration in addtion to the default configuration.

Return value

\Solarium\Core\Client\Endpoint The Solarium endpoint object.

1 method overrides SolrConnectorInterface::createEndpoint()
SolrConnectorPluginBase::createEndpoint in src/SolrConnector/SolrConnectorPluginBase.php
Creates an endpoint.

File

src/SolrConnectorInterface.php, line 529

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function createEndpoint(string $key, array $additional_configuration = []);