constant SEARCH_API_LANGUAGE_FIELD_NAME in Search API Multilingual Solr Search 8
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
File
- src/
Plugin/ search_api/ backend/ AbstractSearchApiSolrMultilingualBackend.php, line 27
Namespace
Drupal\search_api_solr_multilingual\Plugin\search_api\backendCode
define('SEARCH_API_LANGUAGE_FIELD_NAME', 'search_api_language');