protected function SearchApiSolrMultilingualBackend::ensureMultilingualFieldExists in Apache Solr Multilingual 8
1 call to SearchApiSolrMultilingualBackend::ensureMultilingualFieldExists()
- SearchApiSolrMultilingualBackend::ensureAllMultilingualFieldsExist in src/
Plugin/ search_api/ backend/ SearchApiSolrMultilingualBackend.php
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrMultilingualBackend.php, line 256 - Contains \Drupal\as_search\Plugin\search_api\backend\ASSearchApiSolrBackend.
Class
- SearchApiSolrMultilingualBackend
- Plugin annotation @SearchApiBackend( id = "search_api_solr_multilingual", label = @Translation("Solr Multilingual"), description = @Translation("Index items using an Apache Solr Multilingual search server.") )
Namespace
Drupal\apachesolr_multilingual\Plugin\search_api\backendCode
protected function ensureMultilingualFieldExists($multilingual_solr_field_name, $solr_field_type_name, IndexInterface $index) {
if (!$this
->solrDynamicFieldExists($multilingual_solr_field_name, $index)) {
$this
->createSolrDynamicField($multilingual_solr_field_name, $solr_field_type_name, $index);
}
}