public function backup_migrate_destination_db::edit_form in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.db.inc \backup_migrate_destination_db::edit_form()
- 8.3 includes/destinations.db.inc \backup_migrate_destination_db::edit_form()
- 6.2 includes/destinations.db.inc \backup_migrate_destination_db::edit_form()
- 7.2 includes/destinations.db.inc \backup_migrate_destination_db::edit_form()
Destination configuration callback.
Overrides backup_migrate_destination_remote::edit_form
File
- includes/
destinations.db.inc, line 44 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_db
- A destination type for saving to a database server.
Code
public function edit_form() {
$form = parent::edit_form();
$form['scheme']['#title'] = t('Database type');
// $form['scheme']['#options'] = array($GLOBALS['db_type'] => $GLOBALS['db_type']);
$form['scheme']['#description'] = t('The type of the database. Drupal only supports one database type at a time, so this must be the same as the current database type.');
$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;
}