function backup_migrate_ui_destination_delete_destination_confirm in Backup and Migrate 5.2
Ask confirmation for deletion of a destination.
1 string reference to 'backup_migrate_ui_destination_delete_destination_confirm'
- backup_migrate_ui_destination_delete_destination in includes/
destinations.inc - Delete a destination.
File
- includes/
destinations.inc, line 499 - All of the destination handling code needed for Backup and Migrate.
Code
function backup_migrate_ui_destination_delete_destination_confirm($destination_id) {
$form['destination_id'] = array(
'#type' => 'value',
'#value' => $destination_id,
);
$destination = backup_migrate_get_destination($destination_id);
return confirm_form($form, t('Are you sure you want to delete the backup destination %dest?', array(
'%dest' => $destination['name'],
)), 'admin/content/backup_migrate/destinations', t('This will not delete the backup files stored in the destination.'), t('Delete'), t('Cancel'));
}