function backup_migrate_get_destination in Backup and Migrate 7.3
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()
- 5.2 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.2 includes/destinations.inc \backup_migrate_get_destination()
Get the destination of the given id.
17 calls to backup_migrate_get_destination()
- backup_migrate_destination_delete_file in includes/
destinations.inc - Delete a file in the given destination.
- backup_migrate_destination_file_exists in includes/
destinations.inc - Check if a file exists 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_get_latest_file in includes/
destinations.inc - Load a file from a destination and return the file info.
- backup_migrate_drush_backup in includes/
backup_migrate.drush.inc - Backup the default database.
File
- includes/
destinations.inc, line 154
Code
function backup_migrate_get_destination($id) {
$destinations = backup_migrate_get_destinations('all');
return empty($destinations[$id]) ? NULL : $destinations[$id];
}