You are here

function nodesquirrel_get_manage_link in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 6.2 includes/destinations.nodesquirrel.inc \nodesquirrel_get_manage_link()
  2. 7.2 includes/destinations.nodesquirrel.inc \nodesquirrel_get_manage_link()

Get a helper link to activate a site and create a tree.

2 calls to nodesquirrel_get_manage_link()
backup_migrate_destination_nodesquirrel::save_file in includes/destinations.nodesquirrel.inc
Save to the NodeSquirrel destination.
backup_migrate_nodesquirrel_settings_form in includes/destinations.nodesquirrel.inc
NodeSquirrel settings form.

File

includes/destinations.nodesquirrel.inc, line 62
Functions to handle the NodeSquirrel backup destination.

Code

function nodesquirrel_get_manage_link($destination) {
  $url = variable_get('nodesquirrel_manage_url', 'https://manage.nodesquirrel.com') . '/backups/' . $destination
    ->_get_destination();
  return l($url, $url);
}