You are here

function backup_migrate_get_location in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/locations.inc \backup_migrate_get_location()
  2. 7.3 includes/locations.inc \backup_migrate_get_location()

Get the location of the given id.

File

includes/locations.inc, line 75

Code

function backup_migrate_get_location($id) {
  $locations = backup_migrate_get_locations('all');
  return empty($locations[$id]) ? NULL : $locations[$id];
}