You are here

function bakery_translated_menu_link_alter in Bakery Single Sign-On System 6

Same name and namespace in other branches
  1. 6.2 bakery.module \bakery_translated_menu_link_alter()
  2. 7.4 bakery.module \bakery_translated_menu_link_alter()
  3. 7.2 bakery.module \bakery_translated_menu_link_alter()
  4. 7.3 bakery.module \bakery_translated_menu_link_alter()

Implementation of hook_translated_menu_link_alter().

File

./bakery.module, line 70

Code

function bakery_translated_menu_link_alter(&$item) {
  if ($item['href'] == 'bakery') {
    $item['localized_options']['query'] = drupal_get_destination();
  }
}