filter_admin_delete

Versions
mediamosa-21
filter_admin_delete($form, &$form_state, $format)

Menu callback; confirm deletion of a format.

See also

filter_admin_delete_submit()

Related topics

Code

modules/filter/filter.admin.inc, line 313

<?php
function filter_admin_delete($form, &$form_state, $format) {
  $form['#format'] = $format;

  return confirm_form($form,
    t('Are you sure you want to delete the text format %format?', array('%format' => $format->name)),
    'admin/config/content/formats',
    t('If you have any content left in this text format, it will be switched to the %fallback text format. This action cannot be undone.', array('%fallback' => filter_fallback_format_title())),
    t('Delete'),
    t('Cancel')
  );
}
?>