function FilterPluginBase::validateOptionsForm
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validateOptionsForm()
- 10 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validateOptionsForm()
- 11.x core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validateOptionsForm()
Simple validate handler.
Overrides PluginBase::validateOptionsForm
1 call to FilterPluginBase::validateOptionsForm()
- Date::validateOptionsForm in core/
modules/ views/ src/ Plugin/ views/ filter/ Date.php - Simple validate handler.
1 method overrides FilterPluginBase::validateOptionsForm()
- Date::validateOptionsForm in core/
modules/ views/ src/ Plugin/ views/ filter/ Date.php - Simple validate handler.
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php, line 252
Class
- FilterPluginBase
- Base class for Views filters handler plugins.
Namespace
Drupal\views\Plugin\views\filterCode
public function validateOptionsForm(&$form, FormStateInterface $form_state) {
$this->operatorValidate($form, $form_state);
$this->valueValidate($form, $form_state);
if (!empty($this->options['exposed']) && !$this->isAGroup()) {
$this->validateExposeForm($form, $form_state);
}
if ($this->isAGroup()) {
$this->buildGroupValidate($form, $form_state);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.