install.php

Version

1.7.2.3 (checked in on 2008/05/16 at 03:21:13 by webchick)

Description

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.

Functions

Namesort iconDescription
hook_disablePerform necessary actions before module is disabled.
hook_enablePerform necessary actions after module is enabled.
hook_installInstall the current version of the database schema.
hook_requirementsCheck installation requirements that need to be satisfied.
hook_uninstallRemove any tables or variables that the module sets.
hook_update_NPerform a single update. For each patch which requires a database change add a new hook_update_N() which will be called by update.php.