function backup_migrate_nodesquirrel_get_activate_link in Backup and Migrate 8.3
Get a helper link to activate a site and create a tree.
3 calls to backup_migrate_nodesquirrel_get_activate_link()
- backup_migrate_destination_nodesquirrel::edit_form in includes/
destinations.nodesquirrel.inc - Get the form for the settings for this destination.
- backup_migrate_nodesquirrel_get_activate_help_text in includes/
destinations.nodesquirrel.inc - Get a helper link to activate a site and create a tree.
- backup_migrate_nodesquirrel_status_form in includes/
destinations.nodesquirrel.inc - Display the NodeSquirrel status on the configuration form.
File
- includes/
destinations.nodesquirrel.inc, line 52 - Functions to handle the NodeSquirrel backup destination.
Code
function backup_migrate_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;
}