You are here

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

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

Returns the targeted Index ID. In case of multisite it might differ.

Parameters

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

Return value

string The targeted Index ID.

Throws

\Drupal\search_api\SearchApiException

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

File

src/SolrBackendInterface.php, line 253

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

public function getTargetedIndexId(IndexInterface $index);