You are here

function backup_migrate_ui_manual_backup_advanced in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  2. 8.3 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  3. 6.3 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  4. 6.2 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()
  5. 7.2 backup_migrate.module \backup_migrate_ui_manual_backup_advanced()

The menu callback for advanced manual backups.

1 string reference to 'backup_migrate_ui_manual_backup_advanced'
backup_migrate_menu in ./backup_migrate.module
Implements hook_menu().

File

./backup_migrate.module, line 575
Backup and restore databases for Drupal.

Code

function backup_migrate_ui_manual_backup_advanced() {
  require_once dirname(__FILE__) . '/includes/profiles.inc';
  $out = array();
  $profile_id = arg(BACKUP_MIGRATE_MENU_DEPTH + 2);
  $profile = _backup_migrate_profile_saved_default_profile($profile_id);
  $out[] = drupal_get_form('backup_migrate_ui_manual_backup_load_profile_form', $profile);
  $out[] = drupal_get_form('backup_migrate_ui_manual_backup_form', $profile);
  return $out;
}