You are here

public function AbstractSearchApiSolrMultilingualBackend::getDomain in Search API Multilingual Solr Search 8

Returns the targeted content domain of the server.

Return value

string

Overrides SolrMultilingualBackendInterface::getDomain

1 call to AbstractSearchApiSolrMultilingualBackend::getDomain()
AbstractSearchApiSolrMultilingualBackend::viewSettings in src/Plugin/search_api/backend/AbstractSearchApiSolrMultilingualBackend.php

File

src/Plugin/search_api/backend/AbstractSearchApiSolrMultilingualBackend.php, line 526

Class

AbstractSearchApiSolrMultilingualBackend
A abstract base class for all multilingual Solr Search API backends.

Namespace

Drupal\search_api_solr_multilingual\Plugin\search_api\backend

Code

public function getDomain() {
  return isset($this->configuration['sasm_domain']) && !empty($this->configuration['sasm_domain']) ? $this->configuration['sasm_domain'] : 'generic';
}