function _backup_migrate_get_profile_form_item_options

cis7 profiles.inc _backup_migrate_get_profile_form_item_options()
cle7 profiles.inc _backup_migrate_get_profile_form_item_options()
elmsmedia7 profiles.inc _backup_migrate_get_profile_form_item_options()
icor7 profiles.inc _backup_migrate_get_profile_form_item_options()
meedjum_blog7 profiles.inc _backup_migrate_get_profile_form_item_options()
mooc7 profiles.inc _backup_migrate_get_profile_form_item_options()

Get the available profiles as an options array for a form item.

3 calls to _backup_migrate_get_profile_form_item_options()
backup_migrate_schedule::edit_form in sites/all/modules/ulmus/backup_migrate/includes/schedules.inc
Get the edit form.
backup_migrate_ui_manual_backup_load_profile_form in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The backup/export load profile form.
backup_migrate_ui_manual_quick_backup_form in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The quick backup form.

File

sites/all/modules/ulmus/backup_migrate/includes/profiles.inc, line 62
All of the settings profiles handling code for Backup and Migrate.

Code

function _backup_migrate_get_profile_form_item_options() {
  $out = array();
  foreach ((array) backup_migrate_get_profiles() as $key => $profile) {
    $out[$key] = $profile->get('name');
  }
  return $out;
}