function FilterPluginBase::valueForm
Same name in other branches
- 9 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::valueForm()
- 8.9.x core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::valueForm()
- 11.x core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::valueForm()
Options form subform for setting options.
This should be overridden by all child classes and it must define $form['value']
See also
buildOptionsForm()
3 calls to FilterPluginBase::valueForm()
- FilterPluginBase::buildExposedFiltersGroupForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Build the form to let users create the group of exposed filters.
- FilterPluginBase::buildExposedForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Render our chunk of the exposed filter form when selecting.
- FilterPluginBase::showValueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Shortcut to display the value form.
7 methods override FilterPluginBase::valueForm()
- BooleanOperator::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ BooleanOperator.php - Options form subform for setting options.
- Equality::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ Equality.php - Provide a simple textfield for equality.
- HistoryUserTimestamp::valueForm in core/
modules/ history/ src/ Plugin/ views/ filter/ HistoryUserTimestamp.php - Options form subform for setting options.
- InOperator::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php - Options form subform for setting options.
- NumericFilter::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ NumericFilter.php - Provide a simple textfield for equality.
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php, line 380
Class
- FilterPluginBase
- Base class for Views filters handler plugins.
Namespace
Drupal\views\Plugin\views\filterCode
protected function valueForm(&$form, FormStateInterface $form_state) {
$form['value'] = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.