function hook_enable


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 system.api.php hook_enable()
cle7 system.api.php hook_enable()
elmsmedia7 system.api.php hook_enable()
icor7 system.api.php hook_enable()
meedjum_blog7 system.api.php hook_enable()
mooc7 system.api.php hook_enable()

Perform necessary actions after module is enabled.

The hook is called every time the module is enabled. It should be implemented in the module's .install file. The implementation can rely on the .module file being loaded.

See also




Related topics

50 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.

advagg_enable in sites/all/modules/ulmus/advagg/advagg.install
Implements hook_enable().
boost_enable in sites/all/modules/ulmus/boost/boost.install
Implements hook_enable().
comment_enable in modules/comment/comment.install
Implements hook_enable().
ctools_export_crud_enable in sites/all/modules/ulmus/ctools/includes/
Enable a certain object.
dashboard_enable in modules/dashboard/dashboard.install
Implements hook_enable().

... See full list

1 invocation of hook_enable()
module_enable in includes/
Enables or installs a given list of modules.


modules/system/system.api.php, line 3559
Hooks provided by Drupal core and the System module.


function hook_enable() {



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.