apachesolr_multilingual_confgen.install in Apache Solr Multilingual 7
TODO
File
apachesolr_multilingual_confgen/apachesolr_multilingual_confgen.installView source
<?php
/**
* @file
* TODO
*/
/**
* Implements hook_enable().
*
* Register multilingual variables provided by Apache Solr Multilingual
*/
function apachesolr_multilingual_confgen_enable() {
apachesolr_multiligual_confgen_register_multilingual_variables();
}
/**
* Implements hook_disable().
*
* Un-register multilingual variables provided by Apache Solr Multilingual
*/
function apachesolr_multilingual_confgen_disable() {
$old_variables = array_merge(apachesolr_multilingual_confgen_get_i18n_variables(), apachesolr_multilingual_confgen_get_apachesolr_confgen_textfiles_i18n_variables());
apachesolr_multiligual_confgen_unregister_multilingual_variables($old_variables);
}
// TODO delete variables on uninstall
/**
* Register spell checker variables
*/
function apachesolr_multilingual_confgen_update_7100() {
// see apachesolr_multilingual_confgen_update_7101()
// module_load_include('module', 'apachesolr_multilingual_confgen');
// apachesolr_multiligual_confgen_register_multilingual_variables();
}
/**
* Register lowerCase variables
*/
function apachesolr_multilingual_confgen_update_7101() {
module_load_include('module', 'apachesolr_multilingual_confgen');
apachesolr_multiligual_confgen_register_multilingual_variables();
}
Functions
Name | Description |
---|---|
apachesolr_multilingual_confgen_disable | Implements hook_disable(). |
apachesolr_multilingual_confgen_enable | Implements hook_enable(). |
apachesolr_multilingual_confgen_update_7100 | Register spell checker variables |
apachesolr_multilingual_confgen_update_7101 | Register lowerCase variables |