You are here

function devel_translated_menu_link_alter in Devel 6

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

An implementation of hook_translated_menu_item_alter(). Append dynamic querystring 'destination' to several of our own menu items.

File

./devel.module, line 238

Code

function devel_translated_menu_link_alter(&$item) {
  if (in_array($item['href'], devel_menu_need_destination())) {
    $item['localized_options']['query'] = drupal_get_destination();
  }
}