function bakery_translated_menu_link_alter in Bakery Single Sign-On System 7.2
Same name and namespace in other branches
- 6.2 bakery.module \bakery_translated_menu_link_alter()
- 6 bakery.module \bakery_translated_menu_link_alter()
- 7.4 bakery.module \bakery_translated_menu_link_alter()
- 7.3 bakery.module \bakery_translated_menu_link_alter()
Implements hook_translated_menu_link_alter().
File
- ./
bakery.module, line 103 - Module file for the Bakery.
Code
function bakery_translated_menu_link_alter(&$item, $map) {
if ($item['href'] == 'bakery') {
$destination = drupal_get_destination();
$item['localized_options']['query'] = $destination;
}
}