function system_delete_date_format_type_form system_delete_date_format_type_form($form, &$form_state, $format_type) Menu callback; present a form for deleting a date type. File
 modules/system/system.admin.inc, line 2819 Admin page callbacks for the system module.  Code function system_delete_date_format_type_form($form, &$form_state, $format_type) {
  $form['format_type'] = array(
    '#type' => 'value',
    '#value' => $format_type,
  );
  $type_info = system_get_date_types($format_type);

  $output = confirm_form($form, 
  t('Are you sure you want to remove the date type %type?', array('%type' => $type_info['title'])), 
  'admin/config/regional/date-time', 
  t('This action cannot be undone.'), 
  t('Remove'), t('Cancel'), 
  'confirm'
  );

  return $output;
}


    
{'path': 'public/docs/drupal~7/modules-system-system.admin.inc/function/system_delete_date_format_type_form/7.x.html', 'source': 'DevDocs.IO'}