You are here

function backup_migrate_get_profile in Backup and Migrate 7.2

Same name and namespace in other branches
  1. 8.2 includes/profiles.inc \backup_migrate_get_profile()
  2. 8.3 includes/profiles.inc \backup_migrate_get_profile()
  3. 5.2 includes/profiles.inc \backup_migrate_get_profile()
  4. 6.3 includes/profiles.inc \backup_migrate_get_profile()
  5. 6.2 includes/profiles.inc \backup_migrate_get_profile()
  6. 7.3 includes/profiles.inc \backup_migrate_get_profile()

Get the profile info for the profile with the given ID, or NULL if none exists.

5 calls to backup_migrate_get_profile()
backup_migrate_drush_backup in includes/backup_migrate.drush.inc
Backup the default database.
backup_migrate_schedule::get_profile in includes/schedules.inc
Get the destination of the schedule.
backup_migrate_ui_manual_backup_load_profile_form_submit in ./backup_migrate.module
Submit the profile load form.
backup_migrate_update_2005 in ./backup_migrate.install
Change the default database id to something friendlier 2009-08-08
_backup_migrate_profile_saved_default_profile in includes/profiles.inc
Get the default profile saved by the user (or the module default if none exists).

File

includes/profiles.inc, line 40

Code

function backup_migrate_get_profile($profile_id) {
  $profiles = backup_migrate_get_profiles();
  return @$profiles[$profile_id];
}