You are here

function fieldset_helper_clear_auto_excluded_submit in Fieldset helper 6

Clear the list of form id excluded by the fieldset_helper_form_alter() function.

1 string reference to 'fieldset_helper_clear_auto_excluded_submit'
fieldset_helper_admin_settings in ./fieldset_helper.admin.inc
Administration page for the 'Fieldset helper' module.

File

./fieldset_helper.admin.inc, line 102
Administration page for the 'Fieldset helper' module.

Code

function fieldset_helper_clear_auto_excluded_submit() {
  variable_set('fieldset_helper_auto_exclude', array());

  // Set message
  drupal_set_message(t('Excluded forms cleared.'));
}