You are here

function groupmenu_module_implements_alter in Group Menu 8

Implements hook_module_implements_alter().

File

./groupmenu.module, line 55
Gives the ability to create and manage menus for groups.

Code

function groupmenu_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'form_alter') {

    // Make sure our hook_node_form_alter runs after the form alter of the
    // menu_ui module.
    $group = $implementations['groupmenu'];
    unset($implementations['groupmenu']);
    $implementations['groupmenu'] = $group;
  }
}