function backup_migrate_get_source in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/sources.inc \backup_migrate_get_source()
- 6.3 includes/sources.inc \backup_migrate_get_source()
Get the destination of the given id.
3 calls to backup_migrate_get_source()
- backup_migrate_drush_backup in includes/
backup_migrate.drush.inc - Backup the default database.
- backup_migrate_drush_restore in includes/
backup_migrate.drush.inc - Restore to the default database.
- backup_migrate_profile::get_source in includes/
profiles.inc - Get the source of the profile.
File
- includes/
sources.inc, line 29
Code
function backup_migrate_get_source($id) {
$sources = backup_migrate_get_sources();
return empty($sources[$id]) ? NULL : $sources[$id];
}