function backup_migrate_destination_browser_download::save_file in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.browser.inc \backup_migrate_destination_browser_download::save_file()
- 6.3 includes/destinations.browser.inc \backup_migrate_destination_browser_download::save_file()
- 6.2 includes/destinations.browser.inc \backup_migrate_destination_browser_download::save_file()
- 7.3 includes/destinations.browser.inc \backup_migrate_destination_browser_download::save_file()
- 7.2 includes/destinations.browser.inc \backup_migrate_destination_browser_download::save_file()
File save destination callback.
Overrides backup_migrate_destination::save_file
File
- includes/
destinations.browser.inc, line 69 - Functions to handle the browser upload/download backup destination.
Class
- backup_migrate_destination_browser_download
- A destination type for browser download.
Code
function save_file($file, $settings) {
backup_migrate_include('files');
$file
->transfer();
}