You are here

function fieldset_helper_install in Fieldset helper 7.2

Same name and namespace in other branches
  1. 6.2 fieldset_helper.install \fieldset_helper_install()
  2. 6 fieldset_helper.install \fieldset_helper_install()

Implements hook_install().

File

./fieldset_helper.install, line 11
Installation information for the 'Fieldset helper' module.

Code

function fieldset_helper_install() {

  // Define variables
  variable_set('fieldset_helper_node_form_state', 1);
  variable_set('fieldset_helper_default_collapsible_pages', '*');
  variable_set('fieldset_helper_default_collapsed_pages', 'admin/modules');
  variable_set('fieldset_helper_toggle_all_pages', 'admin/modules
admin/modules/list');
  variable_set('fieldset_helper_toggle_all_minimum', 2);
  variable_set('fieldset_helper_global_pages', '');
  variable_set('fieldset_helper_global_ids', '');
  variable_set('fieldset_helper_cookie_duration', 0);
  variable_set('fieldset_helper_disable_state_anonymous', 0);
}