public function GroupByNumeric::canGroup in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/views/filter/GroupByNumeric.php \Drupal\views\Plugin\views\filter\GroupByNumeric::canGroup()
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::canGroup
File
- core/
modules/ views/ src/ Plugin/ views/ filter/ GroupByNumeric.php, line 60 - Contains \Drupal\views\Plugin\views\filter\GroupByNumeric.
Class
- GroupByNumeric
- Simple filter to handle greater than/less than filters
Namespace
Drupal\views\Plugin\views\filterCode
public function canGroup() {
return FALSE;
}