You are here

function devel_menu_link_alter in Devel 6

Same name and namespace in other branches
  1. 7 devel.module \devel_menu_link_alter()

An implementation of hook_menu_link_alter(). Flag this link as needing alter at display time. This is more robust that setting alter in hook_menu(). See devel_translated_menu_link_alter().

File

./devel.module, line 227

Code

function devel_menu_link_alter(&$item, $menu) {
  if (in_array($item['link_path'], devel_menu_need_destination())) {
    $item['options']['alter'] = TRUE;
  }
}