function hosting_client_menu_access in Hosting 6.2
Same name and namespace in other branches
- 7.4 client/hosting_client.module \hosting_client_menu_access()
- 7.3 client/hosting_client.module \hosting_client_menu_access()
Menu access callback for the site creation tab in the client node.
See also
1 string reference to 'hosting_client_menu_access'
- hosting_client_menu in client/
hosting_client.module - Implementation of hook_menu().
File
- client/
hosting_client.module, line 789
Code
function hosting_client_menu_access($perm, $node) {
if ($node->type == 'client') {
return user_access($perm);
}
else {
return false;
}
}