function backup_migrate_destination::save_file_info in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.inc \backup_migrate_destination::save_file_info()
- 6.3 includes/destinations.inc \backup_migrate_destination::save_file_info()
- 7.3 includes/destinations.inc \backup_migrate_destination::save_file_info()
- 7.2 includes/destinations.inc \backup_migrate_destination::save_file_info()
Save the file metadata
1 call to backup_migrate_destination::save_file_info()
- backup_migrate_destination::save_file in includes/
destinations.inc - Save the given file to the destination.
File
- includes/
destinations.inc, line 611
Class
- backup_migrate_destination
- A base class for creating destinations.
Code
function save_file_info($file, $settings) {
$info = $this
->create_info_file($file);
// Save the info file and the actual file.
return $this
->_save_file($info, $settings);
}