You are here

function custom_formatters_engine_php_settings_form_submit in Custom Formatters 7.2

Settings form submit callback for Custom Formatters PHP engine.

Parameters

array $form: The form api array.

array $form_state: The form state array.

1 string reference to 'custom_formatters_engine_php_settings_form_submit'
custom_formatters_custom_formatters_engine_info in includes/custom_formatters.inc
Implements hook_custom_formatters_engine().

File

engines/php.inc, line 69
PHP engine for Custom Formatters modules.

Code

function custom_formatters_engine_php_settings_form_submit($form, &$form_state) {
  $form_state['values']['field_types'] = implode(', ', $form_state['values']['field_types']);
}