function backup_migrate_ui_manual_backup_load_profile_form

cis7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)
cle7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)
elmsmedia7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)
icor7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)
meedjum_blog7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)
mooc7 backup_migrate.module backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL)

The backup/export load profile form.

1 string reference to 'backup_migrate_ui_manual_backup_load_profile_form'
backup_migrate_ui_manual_backup_advanced in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
The menu callback for advanced manual backups.

File

sites/all/modules/ulmus/backup_migrate/backup_migrate.module, line 318
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_ui_manual_backup_load_profile_form($form, &$form_state, $profile = NULL) {
  $form = array();
  $profile_options = _backup_migrate_get_profile_form_item_options();
  if (count($profile_options) > 0) {
    $profile_options = array(0 => t('-- Select a Settings Profile --')) + $profile_options;
    $form['profile'] = array(
      "#title" => t("Settings Profile"),
      "#collapsible" => TRUE,
      "#collapsed" => FALSE,
      "#prefix" => '<div class="container-inline">',
      "#suffix" => '</div>',
      "#tree" => FALSE,
      "#description" => t("You can load a profile. Any changes you made below will be lost."),
    );
    $form['profile']['profile_id'] = array(
      "#type" => "select",
      "#title" => t("Load Settings"),
      '#default_value' => is_object($profile) ? $profile->get_id() : 0,
      "#options" => $profile_options,
    );
    $form['profile']['load_profile'] = array(
      '#type' => 'submit',
      '#value' => t('Load Profile'),
    );
  }
  return $form;
}
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.