private function Populate::isFilterSupported in Views filters populate 8
What filters are supported.
1 call to Populate::isFilterSupported()
- Populate::buildOptionsForm in src/
Plugin/ views/ filter/ Populate.php - Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
File
- src/
Plugin/ views/ filter/ Populate.php, line 90
Class
- Populate
- Filter handler which allows to search on multiple fields.
Namespace
Drupal\views_filters_populate\Plugin\views\filterCode
private function isFilterSupported(FilterPluginBase $filter) {
if ($filter instanceof StringFilter) {
return TRUE;
}
if ($filter instanceof NumericFilter) {
return TRUE;
}
return FALSE;
}