You are here

function backup_migrate_nodesquirrel_info_form in Backup and Migrate 8.3

Return a form element with some help text describing NodeSquirrel.

2 calls to backup_migrate_nodesquirrel_info_form()
backup_migrate_destination_nodesquirrel::before_backup_form in includes/destinations.nodesquirrel.inc
Returns a form to be completed before saving to the destination can be complete.
backup_migrate_nodesquirrel_settings_form in includes/destinations.nodesquirrel.inc
NodeSquirrel settings form.

File

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

Code

function backup_migrate_nodesquirrel_info_form() {
  $form = array();
  $form['nodesquirrel_info'] = array(
    '#type' => 'fieldset',
    '#title' => t('What is NodeSquirrel?'),
  );
  $form['nodesquirrel_info']['intro'] = array(
    '#type' => 'markup',
    '#markup' => t('<p>NodeSquirrel is the cloud backup service for Drupal built by the maintainers of Backup and Migrate. It is secure, reliable and affordable.</p><p>NodeSquirrel is a paid service and profits help support Backup and Migrate.</p><p>Find out more at !nodesquirrel</p>', array(
      '!nodesquirrel' => l('nodesquirrel.com', 'http://www.nodesquirrel.com'),
      '!add' => l(t('add other offsite destinations'), BACKUP_MIGRATE_MENU_PATH . '/destination/list/add'),
      '!bam' => l(t('Backup and Migrate project page'), 'http://drupal.org/project/backup_migrate'),
    )),
  );
  return $form;
}