public static function DenormalizedEntityIndexHijack::getGroupingProcessorFields in Search API Grouping 7.2
Returns the fields to denormalize on.
Parameters
SearchApiIndex $index: The index to fetch the configuration from.
Return value
array The list of fields to use for denormalization.
1 call to DenormalizedEntityIndexHijack::getGroupingProcessorFields()
File
- includes/
datasource_denormalized_entity.inc, line 588 - Contains the SearchApiDenormalizedEntityDataSourceController class.
Class
- DenormalizedEntityIndexHijack
- Class to hijack the protected method getProcessors().
Code
public static function getGroupingProcessorFields(SearchApiIndex $index) {
$processors = $index
->getProcessors();
if (!empty($processors['search_api_denormalized_entity_grouping'])) {
return $processors['search_api_denormalized_entity_grouping']
->getGroupingFields();
}
return array();
}