function botcha_recipebook_delete_form in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 botcha.admin.inc \botcha_recipebook_delete_form()
Delete configuration form.
1 string reference to 'botcha_recipebook_delete_form'
- botcha_menu in ./
botcha.module - Implements hook_menu().
File
- ./
botcha.admin.inc, line 224 - Implementation of botcha administration forms.
Code
function botcha_recipebook_delete_form($form, &$form_state, $recipebook) {
$form['#recipebook'] = $recipebook;
return confirm_form($form, t('Would you really like to delete the recipe book @recipebook?', array(
'@recipebook' => $recipebook->title,
)), Botcha::BOTCHA_ADMIN_PATH . '/recipebook', t('This action cannot be undone.'), t('Delete'));
}