You are here

public function SearchApiElasticsearchAbstractService::supportsFeature in Search API Elasticsearch 7

Implements SearchApiServiceInterface::__construct().

The default implementation always returns FALSE.

Overrides SearchApiAbstractService::supportsFeature

1 call to SearchApiElasticsearchAbstractService::supportsFeature()
SearchApiElasticsearchElastica::supportsFeature in modules/elastica/includes/SearchApiElasticsearchElastica.inc
Overrides supportsFeature().
1 method overrides SearchApiElasticsearchAbstractService::supportsFeature()
SearchApiElasticsearchElastica::supportsFeature in modules/elastica/includes/SearchApiElasticsearchElastica.inc
Overrides supportsFeature().

File

includes/SearchApiElasticsearchAbstractService.inc, line 22
Provides a Elasticsearch-based service class for the Search API.

Class

SearchApiElasticsearchAbstractService
Elasticsearch service abstract class.

Code

public function supportsFeature($feature) {
  $this->_supportedFeatures = drupal_map_assoc(array(
    'search_api_service_extra',
  ));
}