Same name and namespace in other branches
  1. 4.7.x modules/contact.module \contact_admin_delete()
  2. 5.x modules/contact/contact.module \contact_admin_delete()

Category delete page.

1 string reference to 'contact_admin_delete'
contact_menu in modules/contact/contact.module
Implementation of hook_menu().

File

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'));
}