function backup_migrate_filter_backup_restore::backup_settings_form

cis7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)
cle7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)
elmsmedia7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)
icor7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)
meedjum_blog7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)
mooc7 filters.backup_restore.inc backup_migrate_filter_backup_restore::backup_settings_form($settings)

Get the form for the backup settings for this filter.

Overrides backup_migrate_filter::backup_settings_form

File

sites/all/modules/ulmus/backup_migrate/includes/filters.backup_restore.inc, line 75
This filter performs tha actual backup or restore operation. Not technically a filter per-se, but it does need to fit in the call chain.

Class

backup_migrate_filter_backup_restore
A filter backup or migrate the specified source.

Code

function backup_settings_form($settings) {
  backup_migrate_include('destinations');
  $out = array('destinations' => array(
    '#tree' => TRUE,
  ));
  foreach (backup_migrate_get_destinations('source') as $destination) {
    $destination_settings = (array) (@$settings['destinations'][$destination->get_id()]) + $settings;
    if ($form = $destination->backup_settings_form($destination_settings)) {
      $out['destinations'][$destination->get_id()] = array(
        '#type' => 'fieldset',
        '#title' => t('!name Backup Options', array('!name' => $destination->get('name'))),
        "#collapsible" => TRUE,
        "#collapsed" => TRUE,
        '#tree' => TRUE,
        '#parents' => array('filters', 'destinations', $destination->get_id()),
      ) + $form;
    }
  }
  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.