function nodesquirrel_get_activate_link in Backup and Migrate 7.2
Same name and namespace in other branches
- 6.3 includes/destinations.nodesquirrel.inc \nodesquirrel_get_activate_link()
- 6.2 includes/destinations.nodesquirrel.inc \nodesquirrel_get_activate_link()
Get a helper link to activate a site and create a tree.
2 calls to nodesquirrel_get_activate_link()
- nodesquirrel_get_activate_help_text in includes/
destinations.nodesquirrel.inc - Get a helper link to activate a site and create a tree.
- nodesquirrel_settings in includes/
destinations.nodesquirrel.inc - NodeSquirrel settings form.
File
- includes/
destinations.nodesquirrel.inc, line 58 - Functions to handle the NodeSquirrel backup destination.
Code
function nodesquirrel_get_activate_link() {
$activate_link = l('nodesquirrel.com/activate', variable_get('nodesquirrel_activate_url', 'http://manage.nodesquirrel.com/activate'), array(
'query' => array(
'url' => url('', array(
'absolute' => TRUE,
)),
'email' => variable_get('site_mail', ''),
'configure' => url($_GET['q'], array(
'absolute' => TRUE,
)),
),
));
return $activate_link;
}