function custom_formatters_settings_form_submit in Custom Formatters 6
Same name and namespace in other branches
- 7.2 includes/custom_formatters.admin.inc \custom_formatters_settings_form_submit()
Settings form callback; Submit.
File
- ./
custom_formatters.admin.inc, line 1116 - Contains administration functions for the Custom Formatters module.
Code
function custom_formatters_settings_form_submit($form, $form_state) {
drupal_set_message(t('Custom Formatters settings have been updated.'));
variable_set('custom_formatters_settings', $form_state['values']['settings']);
custom_formatters_clear_cache();
}