On this page
function filter_admin_disable
filter_admin_disable($form, &$form_state, $format)
Form constructor for the text format deletion confirmation form.
Parameters
$format: An object representing a text format.
See also
Related topics
File
- modules/filter/filter.admin.inc, line 388
- Administrative page callbacks for the Filter module.
Code
function filter_admin_disable($form, &$form_state, $format) {
$form['#format'] = $format;
return confirm_form($form,
t('Are you sure you want to disable the text format %format?', array('%format' => $format->name)),
'admin/config/content/formats',
t('Disabled text formats are completely removed from the administrative interface, and any content stored with that format will not be displayed. This action cannot be undone.'),
t('Disable')
);
}
© 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!filter!filter.admin.inc/function/filter_admin_disable/7.x