contact_admin_delete

Versions
4.7 – 5
contact_admin_delete($cid = NULL)
6
contact_admin_delete(&$form_state, $contact)

Category delete page.

Code

modules/contact/contact.admin.inc, line 130

<?php
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'));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.