public function FilterPluginBase::groupMultipleExposedInput

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

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 1255
Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for filters.

Namespace

Drupal\views\Plugin\views\filter

Code

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