You are here

public function Tid::submitOptionsForm in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::submitOptionsForm()
  2. 9 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::submitOptionsForm()

File

core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php, line 152

Class

Tid
Taxonomy tid default argument.

Namespace

Drupal\taxonomy\Plugin\views\argument_default

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state, &$options = []) {

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