public static function DenormalizedEntityIndexHijack::getDenormalizeProcessorFields 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.
4 calls to DenormalizedEntityIndexHijack::getDenormalizeProcessorFields()
- SearchApiDenormalizedEntityDataSourceController::createPermutationItems in includes/
datasource_denormalized_entity.inc - Generates the permutation items for the given index.
- SearchApiDenormalizedEntityDataSourceController::startTracking in includes/
datasource_denormalized_entity.inc - Initialize tracking of the index status of items for the given indexes.
- search_api_grouping_search_api_solr_field_mapping_alter in ./
search_api_grouping.module - Implements hook_search_api_solr_field_mapping_alter().
- search_api_grouping_views_data_alter in ./
search_api_grouping.views.inc - Implements hook_views_data_alter().
File
- includes/
datasource_denormalized_entity.inc, line 552 - Contains the SearchApiDenormalizedEntityDataSourceController class.
Class
- DenormalizedEntityIndexHijack
- Class to hijack the protected method getProcessors().
Code
public static function getDenormalizeProcessorFields(SearchApiIndex $index) {
$processors = $index
->getProcessors();
if (!empty($processors['search_api_denormalized_entity_field'])) {
return $processors['search_api_denormalized_entity_field']
->getDenormalizationFields();
}
return array();
}