1 views_handler_field_field.inc | views_handler_field_field::groupby_form_submit(&$form, &$form_state) |
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
Overrides views_handler::groupby_form_submit
File
- core/
modules/ field/ views/ views_handler_field_field.inc, line 667 - Definition of views_handler_field_field.
Class
- views_handler_field_field
- A field that displays fieldapi fields.
Code
function groupby_form_submit(&$form, &$form_state) {
parent::groupby_form_submit($form, $form_state);
$item = &$form_state['handler']->options;
// Add settings for "field API" fields.
$item['group_column'] = $form_state['values']['options']['group_column'];
$item['group_columns'] = array_filter($form_state['values']['options']['group_columns']);
}