You are here

function menu_link_module_implements_alter in Menu Link (Field) 8

Same name and namespace in other branches
  1. 2.0.x menu_link.module \menu_link_module_implements_alter()

Implements hook_menu_implements_alter().

File

./menu_link.module, line 26
Provides a menu link field.

Code

function menu_link_module_implements_alter(&$implementations, $hook) {

  // Disable the menu_ui functionality.
  if ($hook === 'form_node_form_alter') {
    unset($implementations['menu_ui']);
  }
}