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

Validation for filter "Configure" buttons in filter_admin_format_form().


core/modules/filter/filter.admin.inc, line 445
Admin page callbacks for the Filter module.


function filter_admin_format_filter_settings_form_redirect_validate($form, &$form_state) {
  // Throw a form error if there is no machine name yet, as we need this to set
  // up the URLs for settings forms.
  if (empty($form_state['values']['format'])) {
    form_set_error('format', t('Please enter a format name before configuring filter settings.'));