1 views_handler_filter.inc views_handler_filter::can_build_group()

Determine if a filter can be converted into a group. Only exposed filters with operators available can be converted into groups.

File

core/modules/views/handlers/views_handler_filter.inc, line 172
@todo.

Class

views_handler_filter
Base class for filters.

Code

function can_build_group() {
  return $this->is_exposed() && (count($this->operator_options()) > 0);
}