function hosting_client_site_form in Hosting 6.2
Same name and namespace in other branches
- 7.4 client/hosting_client.module \hosting_client_site_form()
- 7.3 client/hosting_client.module \hosting_client_site_form()
Wrapper around the regular site_node_form that passes a dummy site with a proper client
1 string reference to 'hosting_client_site_form'
- hosting_client_menu in client/
hosting_client.module - Implementation of hook_menu().
File
- client/
hosting_client.module, line 777
Code
function hosting_client_site_form($form, $node) {
$site = new stdClass();
$site->type = 'site';
$site->client = $node->nid;
return drupal_get_form('site_node_form', $site);
}