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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.admin.inc/function/system_delete_date_format_type_form/7.x