1 views_handler_filter.inc views_handler_filter::group_multiple_exposed_input(&$input)

Returns the options available for a grouped filter that users checkboxes as widget, and therefore has to be applied several times, one per item selected.

File

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

Class

views_handler_filter
Base class for filters.

Code

function group_multiple_exposed_input(&$input) {
  if (!empty($input[$this->options['group_info']['identifier']])) {
    return array_filter($input[$this->options['group_info']['identifier']]);
  }
  return array();
}