You are here

function backup_migrate_source_db::edit_form in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/sources.db.inc \backup_migrate_source_db::edit_form()
  2. 7.3 includes/sources.db.inc \backup_migrate_source_db::edit_form()

Destination configuration callback.

Overrides backup_migrate_source_remote::edit_form

File

includes/sources.db.inc, line 40
Functions to handle the direct to database destination.

Class

backup_migrate_source_db
A destination type for saving to a database server.

Code

function edit_form() {
  $form = parent::edit_form();
  $form['scheme']['#default_value'] = $this
    ->default_scheme();
  $form['scheme']['#access'] = FALSE;
  $form['path']['#title'] = t('Database name');
  $form['path']['#description'] = t('The name of the database. The database must exist, it will not be created for you.');
  $form['user']['#description'] = t('Enter the name of a user who has write access to the database.');
  return $form;
}