You are here

function rules_forms_install in Rules Forms Support 7

Same name and namespace in other branches
  1. 7.2 rules_forms.install \rules_forms_install()

Implements hook_install().

File

./rules_forms.install, line 11
Installation function for Rules Forms module.

Code

function rules_forms_install() {

  // Set the modules' weight to 20, because we want it to be the last one using
  // hook_form_alter().
  db_update('system')
    ->fields(array(
    'weight' => 20,
  ))
    ->condition('name', 'rules_forms')
    ->execute();
}