function backup_migrate_destination_filesource::edit_form in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::edit_form()
- 7.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::edit_form()
Get the form for the settings for the files destination.
Overrides backup_migrate_location::edit_form
File
- includes/
sources.filesource.inc, line 34 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_filesource
- A destination type for saving locally to the server.
Code
function edit_form() {
$form = parent::edit_form();
$form['location'] = array(
"#type" => "textfield",
"#title" => t("Directory path"),
"#default_value" => $this
->get_location(),
"#required" => TRUE,
"#description" => t('Enter the path to the directory to save the backups to. Use a relative path to pick a path relative to your Drupal root directory. The web server must be able to write to this path.'),
);
return $form;
}