function backup_migrate_delete_confirm in Backup and Migrate 5
Same name and namespace in other branches
- 6 backup_migrate.module \backup_migrate_delete_confirm()
Ask confirmation for file deletion.
1 string reference to 'backup_migrate_delete_confirm'
- _backup_migrate_delete in ./
backup_migrate.module - Menu callback. Delete a previous backup.
File
- ./
backup_migrate.module, line 188 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)
Code
function backup_migrate_delete_confirm($path) {
$form['path'] = array(
'#type' => 'value',
'#value' => $path,
);
return confirm_form($form, t('Are you sure you want to delete the backup file at %path?', array(
'%path' => $path,
)), 'admin/content/backup_migrate/files', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}