You are here

function backup_migrate_get_destination in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_get_destination()
  2. 8.3 includes/destinations.inc \backup_migrate_get_destination()
  3. 5.2 includes/destinations.inc \backup_migrate_get_destination()
  4. 6.3 includes/destinations.inc \backup_migrate_get_destination()
  5. 6.2 includes/destinations.inc \backup_migrate_get_destination()
  6. 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.

... See full list

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];
}