You are here

public function Term::submitOptionsForm in Views (for Drupal 7) 8.3

Provide the default form form for submitting options

Overrides ArgumentValidatorPluginBase::submitOptionsForm

File

lib/Views/taxonomy/Plugin/views/argument_validator/Term.php, line 86
Definition of Views\taxonomy\Plugin\views\argument_validator\Term.

Class

Term
Validate whether an argument is an acceptable node.

Namespace

Views\taxonomy\Plugin\views\argument_validator

Code

public function submitOptionsForm(&$form, &$form_state, &$options = array()) {

  // Filter unselected items so we don't unnecessarily store giant arrays.
  $options['vocabularies'] = array_filter($options['vocabularies']);
}