fieldset_helper_install

contrib-jrockowitz/fieldset_helper/fieldset_helper.install, line 11

Versions
6
fieldset_helper_install()

Implementation of hook_install().

Code

<?php
function fieldset_helper_install() {
  // Set variables
  variable_set('fieldset_helper_auto_exclude', array());

  // 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');
}
?>