function backup_migrate_get_destination in Backup and Migrate 5.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_get_destination()
- 8.3 includes/destinations.inc \backup_migrate_get_destination()
- 6.3 includes/destinations.inc \backup_migrate_get_destination()
- 6.2 includes/destinations.inc \backup_migrate_get_destination()
- 7.3 includes/destinations.inc \backup_migrate_get_destination()
- 7.2 includes/destinations.inc \backup_migrate_get_destination()
Get the destination info for the destination with the given ID, or NULL if none exists.
14 calls to backup_migrate_get_destination()
- backup_migrate_destination_delete_destination in includes/
destinations.inc - Delete a destination from the database.
- backup_migrate_destination_delete_file in includes/
destinations.inc - Delete a file in the given destination.
- backup_migrate_destination_get_file in includes/
destinations.inc - Load a file from a destination and return the file info.
- backup_migrate_destination_save_file in includes/
destinations.inc - Send a file to the destination specified by the settings array.
- backup_migrate_perform_backup in ./
backup_migrate.module - Perform a backup with the given settings.
File
- includes/
destinations.inc, line 191 - All of the destination handling code needed for Backup and Migrate.
Code
function backup_migrate_get_destination($destination_id) {
$destinations = backup_migrate_get_destinations('all');
return @$destinations[$destination_id];
}