public function SearchApiDenormalizedEntityGrouping::getGroupingFields in Search API Grouping 7.2
Returns the fields to group on.
Return value
array The list of fields to use for grouping.
1 call to SearchApiDenormalizedEntityGrouping::getGroupingFields()
- SearchApiDenormalizedEntityGrouping::preprocessSearchQuery in includes/
processor_grouping.inc - Set the options so the server adapter can use the to implement grouping.
File
- includes/
processor_grouping.inc, line 175 - Processor for grouping support.
Class
- SearchApiDenormalizedEntityGrouping
- Processor for grouping up items on behalf of user defined fields.
Code
public function getGroupingFields() {
return isset($this->options['fields']) ? drupal_map_assoc(array_keys($this->options['fields'])) : array();
}