function fieldset_helper_install in Fieldset helper 6
Same name and namespace in other branches
- 6.2 fieldset_helper.install \fieldset_helper_install()
- 7.2 fieldset_helper.install \fieldset_helper_install()
Implementation of hook_install().
File
- ./
fieldset_helper.install, line 11 - Installation information for the 'Fieldset helper' module.
Code
function fieldset_helper_install() {
// Set variables
variable_set('fieldset_helper_auto_exclude', array());
variable_set('fieldset_helper_cookie_duration', 0);
// Set the weight to 1000. This module needs to be called after all other modules
// have executed their hook_form_alter() functions.
db_query("UPDATE {system} SET weight = 1000 WHERE name = 'fieldset_helper'");
drupal_install_schema('fieldset_helper');
}