function block_revisions_delete_confirm in Block Revisions 6
Same name and namespace in other branches
- 7 block_revisions.admin.inc \block_revisions_delete_confirm()
Confirmation form for revision deletion.
1 string reference to 'block_revisions_delete_confirm'
- block_revisions_menu in ./
block_revisions.module - Implementation of hook_menu().
File
- ./
block_revisions.admin.inc, line 38 - Admin functions and page callbacks for the Block Revisions module.
Code
function block_revisions_delete_confirm($form_state, $revision) {
$form['#block_revision'] = $revision;
$delta = $revision->bid;
return confirm_form($form, t('Are you sure you want to delete the revision?'), "admin/build/block/configure/block/{$delta}/revisions", t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}