You are here

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

Indicates if the fallback for not supported languages is active.

Return value

bool

Overrides SolrMultilingualBackendInterface::hasLanguageUndefinedFallback

1 call to AbstractSearchApiSolrMultilingualBackend::hasLanguageUndefinedFallback()
AbstractSearchApiSolrMultilingualBackend::alterSolrDocuments in src/Plugin/search_api/backend/AbstractSearchApiSolrMultilingualBackend.php
Replaces language unspecific fulltext fields by language specific ones.

File

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

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 hasLanguageUndefinedFallback() {
  return isset($this->configuration['sasm_language_unspecific_fallback_on_schema_issues']) ? $this->configuration['sasm_language_unspecific_fallback_on_schema_issues'] : FALSE;
}