function backup_migrate_destination_filesource::restore_from_file in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::restore_from_file()
- 7.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::restore_from_file()
Restore to this source.
File
- includes/
sources.filesource.inc, line 147 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_filesource
- A destination type for saving locally to the server.
Code
function restore_from_file($file, &$settings) {
if ($out = $this
->_restore_from_file_cli($file, $settings)) {
return $out;
}
else {
return $this
->_restore_from_file_php($file, $settings);
}
}