function contact_admin_delete
6.x contact.admin.inc | contact_admin_delete(&$form_state, $contact) |
Category delete page.
1 string reference to 'contact_admin_delete'
- contact_menu in drupal-6.x/
modules/ contact/ contact.module - Implementation of hook_menu().
File
- drupal-6.x/
modules/ contact/ contact.admin.inc, line 130 - Admin page callbacks for the contact module.
Code
function contact_admin_delete(&$form_state, $contact) {
$form['contact'] = array(
'#type' => 'value',
'#value' => $contact,
);
return confirm_form($form, t('Are you sure you want to delete %category?', array('%category' => $contact['category'])), 'admin/build/contact', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}