1 views_plugin_argument_validate_taxonomy_term.inc views_plugin_argument_validate_taxonomy_term::options_submit(&$form, &$form_state, &$options = array())

Provide the default form form for submitting options

Overrides views_plugin_argument_validate::options_submit

File

core/modules/taxonomy/views/views_plugin_argument_validate_taxonomy_term.inc, line 71
Contains the 'taxonomy term' argument validator plugin.

Class

views_plugin_argument_validate_taxonomy_term
Validate whether an argument is an acceptable node.

Code

function options_submit(&$form, &$form_state, &$options = array()) {
  // Filter unselected items so we don't unnecessarily store giant arrays.
  $options['vocabularies'] = array_filter($options['vocabularies']);
}