function botcha_form_delete_form in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 7.2 botcha.admin.inc \botcha_form_delete_form()
Confirm dialog for deleting a BOTCHA form completely.
1 string reference to 'botcha_form_delete_form'
- botcha_menu in ./
botcha.module - Implements hook_menu().
File
- ./
botcha.admin.inc, line 156 - Implementation of botcha administration forms.
Code
function botcha_form_delete_form(&$form_state, $botcha_form) {
$form['#botcha_form'] = $botcha_form;
return confirm_form($form, t('Are you sure you want to delete the BOTCHA protection for form_id %form_id?', array(
'%form_id' => $botcha_form->id,
)), Botcha::BOTCHA_ADMIN_PATH . '/form', NULL, t('Delete'));
}