function backup_migrate_destination_remote::edit_form_submit in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.inc \backup_migrate_destination_remote::edit_form_submit()
- 6.3 includes/destinations.inc \backup_migrate_destination_remote::edit_form_submit()
- 6.2 includes/destinations.inc \backup_migrate_destination_remote::edit_form_submit()
- 7.3 includes/destinations.inc \backup_migrate_destination_remote::edit_form_submit()
- 7.2 includes/destinations.inc \backup_migrate_destination_remote::edit_form_submit()
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.
Overrides backup_migrate_item::edit_form_submit
1 call to backup_migrate_destination_remote::edit_form_submit()
- backup_migrate_destination_s3::edit_form_submit in includes/
destinations.s3.inc - Submit the form for the settings for the s3 destination.
1 method overrides backup_migrate_destination_remote::edit_form_submit()
- backup_migrate_destination_s3::edit_form_submit in includes/
destinations.s3.inc - Submit the form for the settings for the s3 destination.
File
- includes/
destinations.inc, line 1123
Class
- backup_migrate_destination_remote
- A base class for creating destinations.
Code
function edit_form_submit($form, &$form_state) {
$form_state['values']['pass'] = $form_state['values']['pass'] ? $form_state['values']['pass'] : $form_state['values']['old_password'];
$form_state['values']['location'] = $this
->glue_url($form_state['values'], FALSE);
parent::edit_form_submit($form, $form_state);
}