diff --git a/panopoly_pages.module b/panopoly_pages.module index d9e9ea6..062f69c 100644 --- a/panopoly_pages.module +++ b/panopoly_pages.module @@ -142,7 +142,7 @@ function panopoly_pages_landing_page_wizard_submit($form, &$form_state) { */ function panopoly_pages_module_implements_alter(&$implementations, $hook) { // Move our hooks to the end so they are executed last. - if ($hook == 'form_alter' || $hook == 'modules_enabled') { + if ($hook == 'form_alter' || $hook == 'enable') { $group = $implementations['panopoly_pages']; unset($implementations['panopoly_pages']); $implementations['panopoly_pages'] = $group; @@ -150,7 +150,7 @@ function panopoly_pages_module_implements_alter(&$implementations, $hook) { } /** - * 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 @@ -158,7 +158,7 @@ function panopoly_pages_module_implements_alter(&$implementations, $hook) { * more general solution can be found. * @see http://drupal.org/node/1837312 */ -function panopoly_pages_modules_enabled($modules) { +function panopoly_pages_enable($modules) { // Only run this logic if we are executing as part of an install profile. if (variable_get('install_task', 'done') != 'done') {