You are here

public function SolrBackendInterface::getTargetedSiteHash in Search API Solr 4.x

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

Returns the targeted site hash. In case of multisite it might differ.

Parameters

\Drupal\search_api\IndexInterface $index: The Search API index entity.

Return value

string The targeted site hash.

Throws

\Drupal\search_api\SearchApiException

1 method overrides SolrBackendInterface::getTargetedSiteHash()
SearchApiSolrBackend::getTargetedSiteHash in src/Plugin/search_api/backend/SearchApiSolrBackend.php
Returns the targeted site hash. In case of multisite it might differ.

File

src/SolrBackendInterface.php, line 266

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getTargetedSiteHash(IndexInterface $index);