function apachesolr_multilingual_environment_add_defaults in Apache Solr Multilingual 7
Same name and namespace in other branches
- 6.3 apachesolr_multilingual.module \apachesolr_multilingual_environment_add_defaults()
1 call to apachesolr_multilingual_environment_add_defaults()
1 string reference to 'apachesolr_multilingual_environment_add_defaults'
File
- ./
apachesolr_multilingual.module, line 909 - Multilingual search using Apache Solr.
Code
function apachesolr_multilingual_environment_add_defaults(&$environment) {
if (!$environment) {
$environment['conf'] = array();
}
$environment['conf'] += array(
'apachesolr_multilingual_index_settings' => array(
'apachesolr_multilingual_index' => 1,
'apachesolr_multilingual_map_language_neutral' => LANGUAGE_NONE,
'apachesolr_multilingual_clir' => array(
'apachesolr_multilingual_index_translations' => 0,
'apachesolr_multilingual_index_unpublished_translations' => 0,
'apachesolr_multilingual_index_term_translations' => 0,
),
),
);
}