function _backup_migrate_get_destination_form_item_options

cis7 destinations.inc _backup_migrate_get_destination_form_item_options($op)
cle7 destinations.inc _backup_migrate_get_destination_form_item_options($op)
elmsmedia7 destinations.inc _backup_migrate_get_destination_form_item_options($op)
icor7 destinations.inc _backup_migrate_get_destination_form_item_options($op)
meedjum_blog7 destinations.inc _backup_migrate_get_destination_form_item_options($op)
mooc7 destinations.inc _backup_migrate_get_destination_form_item_options($op)

Get the destination options as an options array for a form item.

6 calls to _backup_migrate_get_destination_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_destination_restore_file_confirm in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Ask confirmation for file restore.
backup_migrate_ui_manual_backup_form in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The backup/export form.
backup_migrate_ui_manual_quick_backup_form in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The quick backup form.
backup_migrate_ui_manual_restore_form in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The restore/import upload form.

... See full list

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.inc, line 507
All of the destination handling code needed for Backup and Migrate.

Code

function _backup_migrate_get_destination_form_item_options($op) {
  $out = array();
  foreach (backup_migrate_get_destinations($op) as $key => $destination) {
    $out[$key] = $destination->get_name();
  }
  return $out;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.