1 handlers.inc views_handler::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.

File

core/modules/views/includes/handlers.inc, line 348
Defines the various handler objects to help build and display views.

Class

views_handler
Base handler, from which all the other handlers are derived. It creates a common interface to create consistency amongst handlers and data.

Code

function groupby_form_submit(&$form, &$form_state) {
  $item = &$form_state['handler']->options;

  $item['group_type'] = $form_state['values']['options']['group_type'];
}