function hosting_platform_edit_form_on_site_page_access in Hosting 7.3
Same name and namespace in other branches
- 7.4 platform/hosting_platform.module \hosting_platform_edit_form_on_site_page_access()
Wrapper for node_page_edit, for the "Edit Platform" tab.
1 string reference to 'hosting_platform_edit_form_on_site_page_access'
- hosting_platform_menu in platform/
hosting_platform.module - Implements hook_menu().
File
- platform/
hosting_platform.module, line 97 - Platform node type definition.
Code
function hosting_platform_edit_form_on_site_page_access($op, $site) {
if ($site->type == 'site') {
$platform = node_load($site->platform);
return node_access($op, $platform);
}
}