function apachesolr_multilingual_confgen_init in Apache Solr Multilingual 6.3
Implements hook_init().
File
- apachesolr_multilingual_confgen/
apachesolr_multilingual_confgen.module, line 16 - Multilingual search using Apache Solr.
Code
function apachesolr_multilingual_confgen_init() {
global $conf;
$variables = array_merge(variable_list_group('apachesolr_confgen_textfiles'), variable_list_group('apachesolr_multilingual_confgen'));
foreach ($variables as $var_name => $var_info) {
if (!empty($var_info['solr_multilingual'])) {
$conf['i18n_variables'][] = $var_name;
}
}
}