diff --git a/panopoly_core.module b/panopoly_core.module index 86e6173..f20a52c 100644 --- a/panopoly_core.module +++ b/panopoly_core.module @@ -94,7 +94,7 @@ function panopoly_core_apps_servers_info() { * Implements hook_module_implements_alter(). */ function panopoly_core_module_implements_alter(&$implementations, $hook) { - if ($hook == 'css_alter' || $hook == 'modules_enabled') { + if ($hook == 'css_alter' || $hook == 'enable') { $group = $implementations['panopoly_core']; unset($implementations['panopoly_core']); $implementations['panopoly_core'] = $group; @@ -114,14 +114,14 @@ function panopoly_core_element_info_alter(&$type) { } /** - * Implements hook_modules_enabled(). + * Implements hook_enable(). * * This hook is implemented to assign some default permissions for panelizer's handling * of taxonomy terms. This has to be done in this hook to run after both features * and defaultconfig which power the functionality. Hopefully a more general solution * can be found. More information - http://drupal.org/node/1837312. */ -function panopoly_core_modules_enabled($modules) { +function panopoly_core_enable($modules) { // Only run this logic if we are executing as part of an install profile if (variable_get('install_task', 'done') != 'done') {