You are here

function bakery_translated_menu_link_alter in Bakery Single Sign-On System 7.3

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

Implements hook_translated_menu_link_alter().

File

./bakery.module, line 63

Code

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