function backup_migrate_destination_files::confirm_destination in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/destinations.file.inc \backup_migrate_destination_files::confirm_destination()
- 7.3 includes/destinations.file.inc \backup_migrate_destination_files::confirm_destination()
Check that a destination is valid.
Overrides backup_migrate_destination::confirm_destination
1 call to backup_migrate_destination_files::confirm_destination()
- backup_migrate_destination_files::_save_file in includes/
destinations.file.inc - File save destination callback.
File
- includes/
destinations.file.inc, line 191 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_files
- A destination type for saving locally to the server.
Code
function confirm_destination() {
if ($dir = $this
->get_location()) {
return $this
->check_dir($dir);
}
return FALSE;
}