You are here

function backup_migrate_ui_profile_create in Backup and Migrate 5.2

Get a form to create a new profile.

1 string reference to 'backup_migrate_ui_profile_create'
backup_migrate_menu in ./backup_migrate.module
Implementation of hook_menu().

File

includes/profiles.inc, line 154
All of the settings profiles handling code for Backup and Migrate.

Code

function backup_migrate_ui_profile_create() {
  $profile = _backup_migrate_profile_default_profile() + array(
    'name' => t("Untitled Profile"),
    'source' => 'db_url:default',
  );
  $output = drupal_get_form('backup_migrate_ui_profile_configure_form', $profile);
  return $output;
}