function hosting_menu_hostmaster_access in Hosting 7.4
Same name and namespace in other branches
- 7.3 hosting.module \hosting_menu_hostmaster_access()
Access hook for /hostmaster callback page. Checks the access for hostmaster node page.
Return value
bool
1 string reference to 'hosting_menu_hostmaster_access'
- hosting_menu in ./
hosting.module - Implements hook_menu().
File
- ./
hosting.module, line 157 - Hosting module.
Code
function hosting_menu_hostmaster_access() {
return drupal_valid_path('node/' . hosting_get_hostmaster_nid());
}