function GroupByNumeric::can_group in Views (for Drupal 7) 8.3
Can this filter be used in OR groups?
Some filters have complicated where clauses that cannot be easily used with OR groups. Some filters must also use HAVING which also makes them not groupable. These filters will end up in a special group if OR grouping is in use.
Return value
bool
Overrides FilterPluginBase::can_group
File
- lib/
Drupal/ views/ Plugin/ views/ filter/ GroupByNumeric.php, line 64 - Definition of Drupal\views\Plugin\views\filter\GroupByNumeric.
Class
- GroupByNumeric
- Simple filter to handle greater than/less than filters
Namespace
Drupal\views\Plugin\views\filterCode
function can_group() {
return FALSE;
}