function GroupByNumeric::can_group

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

drupal/core/modules/views/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\filter

Code

function can_group() {
  return FALSE;
}