function backup_migrate_destination_save_file in Backup and Migrate 7.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination_save_file()
- 8.3 includes/destinations.inc \backup_migrate_destination_save_file()
- 5.2 includes/destinations.inc \backup_migrate_destination_save_file()
- 6.3 includes/destinations.inc \backup_migrate_destination_save_file()
- 6.2 includes/destinations.inc \backup_migrate_destination_save_file()
- 7.3 includes/destinations.inc \backup_migrate_destination_save_file()
Send a file to the destination specified by the settings array.
1 call to backup_migrate_destination_save_file()
- backup_migrate_perform_backup in ./
backup_migrate.module - Perform a backup with the given settings.
File
- includes/
destinations.inc, line 247
Code
function backup_migrate_destination_save_file($file, &$settings) {
if ($destination = $settings
->get_destination()) {
$file = $destination
->save_file($file, $settings);
return $file;
}
return NULL;
}