You are here

function matrix_handler_filter::value_submit in Matrix field 8.2

Same name in this branch
  1. 8.2 views/matrix_handler_filter.inc \matrix_handler_filter::value_submit()
  2. 8.2 src/matrix_handler_filter.php \Drupal\matrix\matrix_handler_filter::value_submit()

File

src/matrix_handler_filter.php, line 157

Class

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

Namespace

Drupal\matrix

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'];
}