function devel_menu_link_alter

Implements hook_menu_link_alter().

Flag this link as needing alter at display time. This is more robust than setting alter in hook_menu().

See also

devel_translated_menu_link_alter()

File

./devel.module, line 381

Code

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