function FilterPluginBase::group_multiple_exposed_input in Views (for Drupal 7) 8.3
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
- lib/
Drupal/ views/ Plugin/ views/ filter/ FilterPluginBase.php, line 1209 - Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.
Class
- FilterPluginBase
- Base class for filters.
Namespace
Drupal\views\Plugin\views\filterCode
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();
}