function bean_delete_revision_confirm in Bean (for Drupal 7) 7
Menu callback -- ask for confirmation of bean deletion
1 string reference to 'bean_delete_revision_confirm'
- bean_menu in ./
bean.module - Implements hook_menu().
File
- includes/
bean.pages.inc, line 501 - Bean Functions
Code
function bean_delete_revision_confirm($form, &$form_state, $bean) {
$form['#bean'] = $bean;
return confirm_form($form, t('Are you sure you want to delete revision %vid of %title?', array(
'%vid' => $bean->vid,
'%title' => $bean
->label(),
)), $bean
->viewUrl(), t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}