You are here

protected function SearchApiSolrAcquiaConnector::getServerUri in Acquia Search 3.x

Same name and namespace in other branches
  1. 2.x src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php \Drupal\acquia_search\Plugin\SolrConnector\SearchApiSolrAcquiaConnector::getServerUri()

Returns a the Solr server URI.

Overrides SolrConnectorPluginBase::getServerUri

File

src/Plugin/SolrConnector/SearchApiSolrAcquiaConnector.php, line 381

Class

SearchApiSolrAcquiaConnector
Class SearchApiSolrAcquiaConnector.

Namespace

Drupal\acquia_search\Plugin\SolrConnector

Code

protected function getServerUri() {
  $this
    ->connect();
  return $this
    ->getEndpointUri($this->solr
    ->getEndpoint(self::ENDPOINT_KEY));
}