public function BackendSpecificInterface::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:
- search_api_mlt, by the \Drupal\search_api\Plugin\views\argument\SearchApiMoreLikeThis class.
- search_api_random_sort, by the \Drupal\search_api\Plugin\views\query\SearchApiQuery class.
Return value
string[] The identifiers of all features this backend supports.
See also
hook_search_api_server_features_alter()
2 methods override BackendSpecificInterface::getSupportedFeatures()
- BackendPluginBase::getSupportedFeatures in src/
Backend/ BackendPluginBase.php - Returns all features that this backend supports.
- Server::getSupportedFeatures in src/
Entity/ Server.php - Returns all features that this backend supports.
File
- src/
Backend/ BackendSpecificInterface.php, line 65
Class
- BackendSpecificInterface
- Defines methods common to search servers and backend plugins.
Namespace
Drupal\search_api\BackendCode
public function getSupportedFeatures();