function shoutbox_domain_menu_alter in Shoutbox 7
Same name and namespace in other branches
- 7.2 shoutbox_domain/shoutbox_domain.module \shoutbox_domain_menu_alter()
Implements hook_menu_alter().
File
- shoutbox_domain/
shoutbox_domain.module, line 86
Code
function shoutbox_domain_menu_alter(&$items) {
// Override with a wrapper function to check user_access for the default
// permissions, but also the new domain specific permissions.
$items['shoutbox']['access callback'] = 'shoutbox_domain_user_access';
$items['shoutbox/js/view']['access callback'] = 'shoutbox_domain_user_access';
$items['admin/config/user-interface/shoutbox']['access callback'] = 'shoutbox_domain_user_access';
//TODO TODO
}