You are here

public function SearchApiGroupingGrouping::supportsIndex in Search API Grouping 7

Check if the index is supports this feature.

Overrides SearchApiAbstractProcessor::supportsIndex

File

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

Class

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

Code

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