function backup_migrate_get_destination in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 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.3 includes/destinations.inc \backup_migrate_get_destination()
- 7.2 includes/destinations.inc \backup_migrate_get_destination()
Get the destination of the given id.
14 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 162
Code
function backup_migrate_get_destination($id) {
$destinations = backup_migrate_get_destinations('all');
return empty($destinations[$id]) ? NULL : $destinations[$id];
}