You are here

constant SEARCH_API_LANGUAGE_FIELD_NAME in Search API Solr 8.2

The name of the language field might be change in future releases of search_api. Therefor we define a constant here that could be easily changed.

See also

https://www.drupal.org/node/2641392 for details.

1 use of SEARCH_API_LANGUAGE_FIELD_NAME
AbstractSearchApiSolrMultilingualBackend::getFilterQueries in src/Plugin/search_api/backend/AbstractSearchApiSolrMultilingualBackend.php
Serializes a query's conditions as Solr filter queries.

File

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

Namespace

Drupal\search_api_solr\Plugin\search_api\backend

Code

define('SEARCH_API_LANGUAGE_FIELD_NAME', 'search_api_language');