function ManyToOne::valueForm
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/filter/ManyToOne.php \Drupal\views\Plugin\views\filter\ManyToOne::valueForm()
- 10 core/modules/views/src/Plugin/views/filter/ManyToOne.php \Drupal\views\Plugin\views\filter\ManyToOne::valueForm()
- 11.x core/modules/views/src/Plugin/views/filter/ManyToOne.php \Drupal\views\Plugin\views\filter\ManyToOne::valueForm()
Overrides InOperator::valueForm
1 method overrides ManyToOne::valueForm()
- TaxonomyIndexTid::valueForm in core/
modules/ taxonomy/ src/ Plugin/ views/ filter/ TaxonomyIndexTid.php - Options form subform for setting options.
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ ManyToOne.php, line 108
Class
- ManyToOne
- Complex filter to handle filtering for many to one relationships.
Namespace
Drupal\views\Plugin\views\filterCode
protected function valueForm(&$form, FormStateInterface $form_state) {
parent::valueForm($form, $form_state);
if (!$form_state->get('exposed')) {
$this->helper
->buildOptionsForm($form, $form_state);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.