You are here

function backup_migrate_nodesquirrel_get_activate_help_text in Backup and Migrate 8.3

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

1 call to backup_migrate_nodesquirrel_get_activate_help_text()
backup_migrate_nodesquirrel_credentials_settings_form in includes/destinations.nodesquirrel.inc
NodeSquirrel settings form.

File

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

Code

function backup_migrate_nodesquirrel_get_activate_help_text() {
  $activate_link = backup_migrate_nodesquirrel_get_activate_link();
  return array(
    '#type' => 'item',
    '#title' => t('Need a Secret Key?'),
    '#markup' => t('Visit !nodesquirrel.', array(
      '!nodesquirrel' => $activate_link,
    )),
    '#description' => t('Don\'t worry if you don\'t have an account yet. You can create one when you get there.'),
  );
}