function backup_migrate_destination_nodesquirrel::before_backup_form in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::before_backup_form()
Returns a form to be completed before saving to the destination can be complete.
File
- includes/
destinations.nodesquirrel.inc, line 192 - Functions to handle the NodeSquirrel backup destination.
Class
- backup_migrate_destination_nodesquirrel
- A destination for sending database backups to the NodeSquirel backup service.
Code
function before_backup_form($settings) {
$key = $this
->settings('secret_key');
if (empty($key)) {
return backup_migrate_nodesquirrel_credentials_settings_form();
}
return array();
}