You are here

function backup_migrate_destination_email::edit_form in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.email.inc \backup_migrate_destination_email::edit_form()
  2. 8.3 includes/destinations.email.inc \backup_migrate_destination_email::edit_form()
  3. 6.3 includes/destinations.email.inc \backup_migrate_destination_email::edit_form()
  4. 7.3 includes/destinations.email.inc \backup_migrate_destination_email::edit_form()
  5. 7.2 includes/destinations.email.inc \backup_migrate_destination_email::edit_form()

Get the form for the settings for this filter.

Overrides backup_migrate_destination::edit_form

File

includes/destinations.email.inc, line 37
Functions to handle the email backup destination.

Class

backup_migrate_destination_email
A destination for emailing database backups.

Code

function edit_form() {
  $form = parent::edit_form();
  $form['location'] = array(
    "#type" => "textfield",
    "#title" => t("Email Address"),
    "#default_value" => $this
      ->get_location(),
    "#required" => TRUE,
    "#description" => t('Enter the email address to send the backup files to. Make sure the email server can handle large file attachments.'),
  );
  return $form;
}