function custom_formatters_engine_formatter_preset_settings_form_submit in Custom Formatters 7.2
Settings form submit callback for Custom Formatters Formatter preset engine.
Parameters
array $form: The form api array.
array $form_state: The form state array.
1 string reference to 'custom_formatters_engine_formatter_preset_settings_form_submit'
- custom_formatters_custom_formatters_engine_info in includes/
custom_formatters.inc - Implements hook_custom_formatters_engine().
File
- engines/
formatter_preset.inc, line 104 - Formatter preset engine for Custom Formatters modules.
Code
function custom_formatters_engine_formatter_preset_settings_form_submit($form, &$form_state) {
$form_state['values']['code'] = serialize($form_state['values']['code']);
}