You are here

function matrix_handler_filter::value_submit in Matrix field 7.2

Same name and namespace in other branches
  1. 8.2 views/matrix_handler_filter.inc \matrix_handler_filter::value_submit()

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_filter::value_submit

File

views/matrix_handler_filter.inc, line 156

Class

matrix_handler_filter
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Code

function value_submit($form, &$form_state) {

  // Views does not apper to want to save anything from this form other than 'value' so the row, col, and value will be concatinated into the value cell.
  $form_state['values']['options']['value'] = $form_state['values']['options']['row'] . '_____' . $form_state['values']['options']['col'] . '_____' . $form_state['values']['options']['value'];
}