You are here

public function SearchApiDenormalizedEntityGrouping::supportsIndex in Search API Grouping 7.2

Check if the index is supports this feature.

Overrides SearchApiAbstractProcessor::supportsIndex

File

includes/processor_grouping.inc, line 16
Processor for grouping support.

Class

SearchApiDenormalizedEntityGrouping
Processor for grouping up items on behalf of user defined fields.

Code

public function supportsIndex(SearchApiIndex $index) {
  return $index
    ->server() ? $index
    ->server()
    ->supportsFeature('search_api_grouping') : FALSE;
}