function FilterPluginBase::validate
Same name in other branches
- 9 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validate()
- 10 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validate()
- 11.x core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::validate()
Overrides HandlerBase::validate
2 calls to FilterPluginBase::validate()
- Combine::validate in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Validate that the plugin is correct and can be saved.
- InOperator::validate in core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php - Validate that the plugin is correct and can be saved.
2 methods override FilterPluginBase::validate()
- Combine::validate in core/
modules/ views/ src/ Plugin/ views/ filter/ Combine.php - Validate that the plugin is correct and can be saved.
- InOperator::validate in core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php - Validate that the plugin is correct and can be saved.
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php, line 1594
Class
- FilterPluginBase
- Base class for Views filters handler plugins.
Namespace
Drupal\views\Plugin\views\filterCode
public function validate() {
if (!empty($this->options['exposed']) && ($error = $this->validateIdentifier($this->options['expose']['identifier']))) {
return [
$error,
];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.