filter_admin_delete
- Versions
- 4.6 – 6
filter_admin_delete()- 7
filter_admin_delete($form, &$form_state, $format)
Menu callback; confirm deletion of a format.
See also
Related topics
Code
modules/filter/filter.admin.inc, line 217
<?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')
);
}
?>Login or register to post comments 