function backup_migrate_destination_s3::edit_form_submit in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/destinations.s3.inc \backup_migrate_destination_s3::edit_form_submit()
- 6.3 includes/destinations.s3.inc \backup_migrate_destination_s3::edit_form_submit()
- 6.2 includes/destinations.s3.inc \backup_migrate_destination_s3::edit_form_submit()
- 7.3 includes/destinations.s3.inc \backup_migrate_destination_s3::edit_form_submit()
- 7.2 includes/destinations.s3.inc \backup_migrate_destination_s3::edit_form_submit()
Submit the form for the settings for the s3 destination.
Overrides backup_migrate_destination_remote::edit_form_submit
File
- includes/
destinations.s3.inc, line 111 - Functions to handle the s3 backup destination.
Class
- backup_migrate_destination_s3
- A destination for sending database backups to an s3 server.
Code
function edit_form_submit($form, &$form_state) {
// Append the subdir onto the path.
if (!empty($form_state['values']['subdir'])) {
$form_state['values']['path'] .= '/' . trim($form_state['values']['subdir'], '/');
}
parent::edit_form_submit($form, $form_state);
}