You are here

function backup_migrate_destination_dropbox::edit_form in Backup and Migrate Dropbox 6.2

Same name and namespace in other branches
  1. 6 destinations.dropbox.inc \backup_migrate_destination_dropbox::edit_form()
  2. 7.3 destinations.dropbox.inc \backup_migrate_destination_dropbox::edit_form()
  3. 7 destinations.dropbox.inc \backup_migrate_destination_dropbox::edit_form()
  4. 7.2 destinations.dropbox.inc \backup_migrate_destination_dropbox::edit_form()

Get the form for the settings for this filter.

File

./destinations.dropbox.inc, line 45
Functions to handle the dropbox backup destination.

Class

backup_migrate_destination_dropbox
A destination for sending database backups to a Dropbox account.

Code

function edit_form() {
  $form = parent::edit_form();
  $form['scheme']['#type'] = 'value';
  $form['scheme']['#value'] = 'https';
  $form['host']['#type'] = 'value';
  $form['host']['#value'] = 'www.dropbox.com';
  $form['path']['#description'] = 'A relative folder inside your Dropbox account';
  $form['user']['#title'] = 'Dropbox E-mail';
  $form['pass']['#title'] = 'Dropbox Password';
  return $form;
}