Commit 567443f6 authored by Steven Jones's avatar Steven Jones

Improve the documentation on hosting_import_site().

parent fda27a50
......@@ -328,7 +328,15 @@ function hosting_get_site_by_url($url) {
}
/**
* Helper function to generate new site node during import
* Helper function to generate update a site node during import.
*
* @param $site_id
* The node ID of the existing site node to update.
* @param $data
* An associative array of data to add to the site node. Keys should correspond
* to properties on the node object to overwrite.
* @param $platform
* The node ID of the platform that the site is deployed on.
*/
function hosting_import_site($site_id, $data, $platform) {
global $user;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment