[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/rules/rules_forms/ -> rules_forms.install (source)

   1  <?php
   2  // $Id: rules_forms.install,v 1.1.2.2 2010/06/10 12:56:38 klausi Exp $
   3  
   4  
   5  /**
   6   * @file
   7   * Rules Forms - Installation file.
   8   */
   9  
  10  /**
  11   * Implementation of hook_install().
  12   */
  13  function rules_forms_install() {
  14    // Set the modules' weight to 20, because we want it to be the last one using
  15    // hook_form_alter().
  16    db_query("UPDATE {system} SET weight = 20 WHERE name = 'rules_forms'");
  17  }
  18  
  19  /**
  20   * Update the module's weight to 20.
  21   */
  22  function rules_forms_update_6001() {
  23    $ret = array();
  24    $ret[] = update_sql("UPDATE {system} SET weight = 20 WHERE name = 'rules_forms'");
  25    return $ret;
  26  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7