You are here

function hosting_site_add_by_platform in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 site/hosting_site.module \hosting_site_add_by_platform()
  2. 7.3 site/hosting_site.module \hosting_site_add_by_platform()

Page callback for Site add by platform.

1 string reference to 'hosting_site_add_by_platform'
hosting_site_menu in site/hosting_site.module
Implements hook_menu().

File

site/hosting_site.module, line 488
Contains hook implementations for Hosting site module.

Code

function hosting_site_add_by_platform($node) {
  drupal_goto('node/add/site', array(
    'query' => array(
      'platform' => $node->nid,
    ),
  ));
}