You are here

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

Provide the default form form for submitting options

Overrides ArgumentDefaultPluginBase::submitOptionsForm

File

lib/Views/taxonomy/Plugin/views/argument_default/Tid.php, line 110
Definition of Views\taxonomy\Plugin\views\argument_default\Tid.

Class

Tid
Taxonomy tid default argument.

Namespace

Views\taxonomy\Plugin\views\argument_default

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