You are here

function backup_migrate_get_profile in Backup and Migrate 5.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. 6.3 includes/profiles.inc \backup_migrate_get_profile()
  4. 6.2 includes/profiles.inc \backup_migrate_get_profile()
  5. 7.3 includes/profiles.inc \backup_migrate_get_profile()
  6. 7.2 includes/profiles.inc \backup_migrate_get_profile()

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

9 calls to backup_migrate_get_profile()
backup_migrate_profile_delete_profile in includes/profiles.inc
Delete a saved profile from the database.
backup_migrate_schedules_run in includes/schedules.inc
Run the preconfigured schedules. Called on cron.
backup_migrate_ui_manual_backup_form_submit in ./backup_migrate.module
Submit the form. Save the values as defaults if desired and output the backup file.
backup_migrate_ui_manual_backup_load_profile_form_submit in ./backup_migrate.module
Submit the profile load form.
backup_migrate_ui_profile_configure in includes/profiles.inc
Get a form to configure the profile.

... See full list

File

includes/profiles.inc, line 30
All of the settings profiles handling code for Backup and Migrate.

Code

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