You are here

function certificate_set_delete_form in Certificate 6

1 string reference to 'certificate_set_delete_form'
certificate_menu in ./certificate.module
Implementation of hook_menu().

File

./certificate.admin.inc, line 638
Administrative pages for the module.

Code

function certificate_set_delete_form(&$form_state, $type) {
  $form = array();
  $form['type_id'] = array(
    '#value' => $type->type_id,
    '#type' => 'hidden',
  );
  $description = "This will also delete the associated criteria.";
  $form = confirm_form($form, "Delete <em>{$type->name}</em> certificate template?", '', $description, 'Delete', 'Cancel', 'delete-type');
  return $form;
}