function backup_migrate_destination_db_mysql::backup_settings_form in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::backup_settings_form()
- 7.3 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::backup_settings_form()
- 7.2 includes/destinations.db.mysql.inc \backup_migrate_destination_db_mysql::backup_settings_form()
Get the form for the backup settings for this destination.
Overrides backup_migrate_destination_db::backup_settings_form
File
- includes/
destinations.db.mysql.inc, line 84 - Functions to handle the direct to database destination.
Class
- backup_migrate_destination_db_mysql
- A destination type for saving to a database server.
Code
function backup_settings_form($settings) {
$form = parent::backup_settings_form($settings);
$form['use_mysqldump'] = array(
"#type" => "checkbox",
"#title" => t("Use mysqldump command"),
"#default_value" => !empty($settings['use_mysqldump']),
"#description" => t("Use the mysqldump command line tool if available. This can be faster for large databases but will not work on all servers. EXPERIMENTAL"),
);
return $form;
}