function backup_migrate_get_destination in Backup and Migrate 6.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()
- 5.2 includes/destinations.inc \backup_migrate_get_destination()
- 6.3 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 of the given id.
12 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_drush_backup in includes/
backup_migrate.drush.inc - Backup the default database.
- backup_migrate_drush_destination_files in includes/
backup_migrate.drush.inc - Get a list of files in a given destination
File
- includes/
destinations.inc, line 204
Code
function backup_migrate_get_destination($id) {
$destinations = backup_migrate_get_destinations('all');
return empty($destinations[$id]) ? NULL : $destinations[$id];
}