public function views_handler_filter::can_build_group in Views (for Drupal 7) 7.3
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.
File
- handlers/
views_handler_filter.inc, line 199 - Definitions of views_handler_filter and views_handler_filter_broken.
Class
- views_handler_filter
- Base class for filters.
Code
public function can_build_group() {
return $this
->is_exposed() && count($this
->operator_options()) > 0;
}