1.7.2.4 (checked in on 2009/01/17 at 20:47:33 by davereid)
Documentation for the installation and update system.
The update system is used by modules to provide database updates which are run with update.php.
Implementations of these hooks should be placed in a mymodule.install file in the same directory as mymodule.module.
| Name | Description |
|---|---|
| hook_disable | Perform necessary actions before module is disabled. |
| hook_enable | Perform necessary actions after module is enabled. |
| hook_install | Install the current version of the database schema. |
| hook_requirements | Check installation requirements that need to be satisfied. |
| hook_uninstall | Remove any tables or variables that the module sets. |
| hook_update_last_removed | Return a number which is no longer available as hook_update_N(). |
| hook_update_N | Perform a single update. |