function botcha_recipebook_delete_form in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 7.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 338 - Implementation of botcha administration forms.
Code
function botcha_recipebook_delete_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', NULL, t('Delete'));
}