function hook_enable

This hook will be executed when a module is enabled in the system. It will be executed AFTER hook_install.

It is expected to go in a PHP file named [module].install. Ex: system.install

See also

hook_install()

hook_disable()

hook_update($old_schema, $new_schema)

hook_uninstall()

2 functions implement hook_enable()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

announcements_enable in modules/announcements/announcements.install
system_enable in modules/system/system.install
Implementation of hook_enable.

File

includes/hook.api.php, line 455
Lists all available hooks within FlightPath's core code.

Code

function hook_enable() {
  fp_add_message("Don't forget to go to settings...");
}