You are here

public function BackendPluginBase::getSupportedFeatures in Search API 8

Returns all features that this backend supports.

Features are optional extensions to Search API functionality and usually defined and used by third-party modules.

There are currently two features defined directly in the Search API module:

Return value

string[] The identifiers of all features this backend supports.

Overrides BackendSpecificInterface::getSupportedFeatures

See also

hook_search_api_server_features_alter()

2 methods override BackendPluginBase::getSupportedFeatures()
Database::getSupportedFeatures in modules/search_api_db/src/Plugin/search_api/backend/Database.php
Returns all features that this backend supports.
TestBackend::getSupportedFeatures in tests/search_api_test/src/Plugin/search_api/backend/TestBackend.php
Returns all features that this backend supports.

File

src/Backend/BackendPluginBase.php, line 191

Class

BackendPluginBase
Defines a base class for backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function getSupportedFeatures() {
  return [];
}