You are here

constant SolrBackendInterface::SEARCH_API_SOLR_LANGUAGE_SEPARATOR in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/SolrBackendInterface.php \Drupal\search_api_solr\SolrBackendInterface::SEARCH_API_SOLR_LANGUAGE_SEPARATOR

The separator to indicate the start of a language ID.

We must not use any character that has a special meaning within regular expressions. Additionally we have to avoid characters that are valid for Drupal machine names. The end of a language ID is indicated by an underscore '_' which could not occur within the language ID itself because Drupal uses lanague tags.

See also

http://de2.php.net/manual/en/regexp.reference.meta.php

https://www.w3.org/International/articles/language-tags/

File

src/SolrBackendInterface.php, line 36

Class

SolrBackendInterface
Defines an interface for Solr search backend plugins.

Namespace

Drupal\search_api_solr

Code

const SEARCH_API_SOLR_LANGUAGE_SEPARATOR = ';';