1 filter.admin.inc filter_admin_format_form_cancel($form, &$form_state)

Submit handler for filter_admin_format_form() that cancels in-progress work.

File

core/modules/filter/filter.admin.inc, line 434
Administrative page callbacks for the Filter module.

Code

function filter_admin_format_form_cancel($form, &$form_state) {
  $format = $form_state['format'];

  if (isset($format->format)) {
    filter_clear_format_tempstore($format->format);
  }
  $form_state['redirect'] = 'admin/config/content/formats';
}