You are here

function hosting_client_menu_access in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 client/hosting_client.module \hosting_client_menu_access()
  2. 7.3 client/hosting_client.module \hosting_client_menu_access()

Menu access callback for the site creation tab in the client node.

See also

hosting_client_menu()

1 string reference to 'hosting_client_menu_access'
hosting_client_menu in client/hosting_client.module
Implements hook_menu().

File

client/hosting_client.module, line 960

Code

function hosting_client_menu_access($perm, $node) {
  if ($node->type == 'client') {
    return user_access($perm);
  }
  else {
    return FALSE;
  }
}