function smtp_admin_criteria_delete in SMTP Authentication Support 7.2
Delete selection criteria.
Parameters
form: An associative array containing the structure of the form.
form_state: A keyed array containing the current state of the form.
criteria: The selection criteria being edited.
Return value
An array containing form items to place on the selection criteria deletion page.
1 string reference to 'smtp_admin_criteria_delete'
- smtp_menu in ./
smtp.module - Implements hook_menu().
File
- ./
smtp.admin.inc, line 800 - Administrative page code for the smtp module.
Code
function smtp_admin_criteria_delete($form, $form_state, $criteria) {
$form['cid'] = array(
'#type' => 'value',
'#value' => $criteria['cid'],
);
return confirm_form($form, 'Are you sure that you want to delete this selection criteria?', 'admin/config/system/smtp');
}