You are here

function backup_migrate_get_profile in Backup and Migrate 7.3

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.2 includes/profiles.inc \backup_migrate_get_profile()

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

6 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.
BmTestBase::getProfile in tests/BmTestBase.test
Get a profile.

... See full list

File

includes/profiles.inc, line 56

Code

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