function subuser_menu_alter in Subuser 6
Same name and namespace in other branches
- 8 subuser.module \subuser_menu_alter()
- 7.2 subuser.module \subuser_menu_alter()
Implementation of hook_menu_link_alter().
File
- ./
subuser.module, line 95 - Allows users of a particular role to create sub user account in another role.
Code
function subuser_menu_alter(&$items) {
$items['user/%user_category/edit']['access callback'] = 'subuser_user_edit_access';
$items['admin/user/user']['access callback'] = 'subuser_administer_users_access';
$items['admin/user/user']['title callback'] = 'subuser_administer_users_title';
}