You are here

function panopoly_pages_module_implements_alter in Panopoly Pages 7

Implements hook_module_implements_alter().

File

./panopoly_pages.module, line 37

Code

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') && isset($implementations['panopoly_pages'])) {
    $group = $implementations['panopoly_pages'];
    unset($implementations['panopoly_pages']);
    $implementations['panopoly_pages'] = $group;
  }
}