You are here

function _hosting_client_platform_access in Hosting 7.4

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

Access callback for the client platform access tab.

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

File

client/hosting_client.module, line 768

Code

function _hosting_client_platform_access($node) {
  return $node->type == 'platform' && $node->platform_status != HOSTING_PLATFORM_DELETED && node_access('update', $node) && user_access('administer clients');
}