You are here

function backup_migrate_get_location in Backup and Migrate 7.3

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

Get the location of the given id.

File

includes/locations.inc, line 78

Code

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