function bean_set_default_confirm in Bean (for Drupal 7) 7
Form for setting a revision active
1 string reference to 'bean_set_default_confirm'
- bean_menu in ./
bean.module - Implements hook_menu().
File
- includes/
bean.pages.inc, line 528 - Bean Functions
Code
function bean_set_default_confirm($form, &$form_state, $bean) {
$form['#bean'] = $bean;
return confirm_form($form, t('Are you sure you want to set revision %vid of %title active?', array(
'%vid' => $bean->vid,
'%title' => $bean
->label(),
)), $bean
->viewUrl(), t('This action cannot be undone.'), t('Set Default'), t('Cancel'));
}