function views_handler_filter::can_build_group

3.x 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.

1 call to views_handler_filter::can_build_group()
views_handler_filter::options_form in handlers/views_handler_filter.inc
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

handlers/views_handler_filter.inc, line 177
@todo.

Class

views_handler_filter
Base class for filters.

Code

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