You are here

function efq_views_plugin_query::options_submit in EntityFieldQuery Views Backend 7

Special submit handling.

Overrides views_plugin_query::options_submit

File

./efq_views_plugin_query.inc, line 95

Class

efq_views_plugin_query

Code

function options_submit(&$form, &$form_state) {
  $element = array(
    '#parents' => array(
      'query',
      'options',
      'query_tags',
    ),
  );
  $value = explode(',', drupal_array_get_nested_value($form_state['values'], $element['#parents']));
  $value = array_filter(array_map('trim', $value));
  form_set_value($element, $value, $form_state);
}