You are here

function backup_migrate_get_source in Backup and Migrate 6.3

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

Get the destination of the given id.

1 call to backup_migrate_get_source()
backup_migrate_profile::get_source in includes/profiles.inc
Get the source of the profile.

File

includes/sources.inc, line 28

Code

function backup_migrate_get_source($id) {
  $sources = backup_migrate_get_sources();
  return empty($sources[$id]) ? NULL : $sources[$id];
}