You are here

function backup_migrate_destination_file_conf in Backup and Migrate 5.2

Destination configuration callback.

1 string reference to 'backup_migrate_destination_file_conf'
backup_migrate_backup_migrate_destination_types in includes/destinations.inc
Implementation of hook_backup_migrate_destination_types().

File

includes/destinations.file.inc, line 63
Functions to handle the local server directory backup destinations.

Code

function backup_migrate_destination_file_conf($destination, $form) {
  $form['location'] = array(
    "#type" => "textfield",
    "#title" => t("Directory path"),
    "#default_value" => $destination['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;
}