function cas_menu_link_alter in CAS 6.3
Same name and namespace in other branches
- 7 cas.module \cas_menu_link_alter()
Implements hook_menu_link_alter().
Flag this link as needing alter at display time.
See also
cas_translated_menu_link_alter()
File
- ./
cas.module, line 388 - Enables users to authenticate via a Central Authentication Service (CAS) Cas will currently work if the auto registration is turned on and will create user accounts automatically.
Code
function cas_menu_link_alter(&$item, $menu) {
if ($item['link_path'] == 'cas' || $item['link_path'] == 'caslogout') {
$item['options']['alter'] = TRUE;
}
}