You are here

public function SolrConnectorInterface::createEndpoint in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x 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 455

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

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