function backup_migrate_destination_email_conf in Backup and Migrate 5.2
Destination configuration callback.
1 string reference to 'backup_migrate_destination_email_conf'
- backup_migrate_backup_migrate_destination_types in includes/
destinations.inc - Implementation of hook_backup_migrate_destination_types().
File
- includes/
destinations.email.inc, line 25 - Functions to handle the email backup destination.
Code
function backup_migrate_destination_email_conf($destination, $form) {
$form['location'] = array(
"#type" => "textfield",
"#title" => t("Email Address"),
"#default_value" => $destination['location'],
"#required" => TRUE,
"#description" => t('Enter the email address to send the backup files to. Make sure the email sever can handle large file attachments'),
);
$form['#validate'] = array(
'backup_migrate_destination_email_conf_validate' => array(),
);
return $form;
}