public function SolrBackendInterface::getIndexId in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::getIndexId()
Prefixes an index ID as configured.
The resulting ID will be a concatenation of the following strings:
- If set, the server-specific index_prefix.
- If set, the index-specific prefix.
- The index's machine name.
Parameters
\Drupal\search_api\IndexInterface $index: The Search API index entity.
Return value
string The prefixed machine name.
1 method overrides SolrBackendInterface::getIndexId()
- SearchApiSolrBackend::getIndexId in src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php - Prefixes an index ID as configured.
File
- src/
SolrBackendInterface.php, line 240
Class
- SolrBackendInterface
- Defines an interface for Solr search backend plugins.
Namespace
Drupal\search_api_solrCode
public function getIndexId(IndexInterface $index);