constant SEARCH_API_LANGUAGE_FIELD_NAME in Apache Solr Multilingual 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.
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrMultilingualBackend.php, line 31 - Contains \Drupal\as_search\Plugin\search_api\backend\ASSearchApiSolrBackend.
Namespace
Drupal\apachesolr_multilingual\Plugin\search_api\backendCode
define('SEARCH_API_LANGUAGE_FIELD_NAME', 'search_api_language');