public function backup_migrate_destination_filesource::edit_form in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::edit_form()
- 6.3 includes/sources.filesource.inc \backup_migrate_destination_filesource::edit_form()
Gets the form for the settings for the files destination.
Overrides backup_migrate_location::edit_form
File
- includes/
sources.filesource.inc, line 48 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_filesource
- A destination type for saving locally to the server.
Code
public 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 back up. Use a relative path to pick a path relative to your Drupal root directory. The web server must be able to read from this path.'),
);
return $form;
}