function backup_migrate_nodesquirrel_settings_form in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/destinations.nodesquirrel.inc \backup_migrate_nodesquirrel_settings_form()
NodeSquirrel settings form.
1 string reference to 'backup_migrate_nodesquirrel_settings_form'
- backup_migrate_nodesquirrel_settings in includes/
destinations.nodesquirrel.inc - NodeSquirrel settings page callback.
File
- includes/
destinations.nodesquirrel.inc, line 288 - Functions to handle the NodeSquirrel backup destination.
Code
function backup_migrate_nodesquirrel_settings_form($form_state) {
_backup_migrate_message_callback('_backup_migrate_message_browser');
$form = array();
$key = variable_get('nodesquirrel_secret_key', '');
$status = array();
if ($destination = backup_migrate_nodesquirrel_get_destination($key)) {
$status = $destination
->check_limits();
}
$form += backup_migrate_nodesquirrel_info_form();
$form += backup_migrate_nodesquirrel_status_form($key, $destination, $status);
$form += backup_migrate_nodesquirrel_credentials_settings_form($key, $status);
$form += backup_migrate_nodesquirrel_schedule_settings_form($destination, $status);
return system_settings_form($form);
}