CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in core. More...

+ Inheritance diagram for CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook:

Public Member Functions

 onCirrusSearchAddQueryFeatures (SearchConfig $config, array &$extraFeatures)
 This hook is called to register new search keywords.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in core.

Use the hook name "CirrusSearchAddQueryFeatures" to register handlers implementing this interface.

@stable to implement

Member Function Documentation

◆ onCirrusSearchAddQueryFeatures()

CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook::onCirrusSearchAddQueryFeatures ( SearchConfig $config,
array & $extraFeatures )

This hook is called to register new search keywords.

Parameters
SearchConfig$config
SimpleKeywordFeature[]&$extraFeatures

Implemented in CirrusSearch\CirrusSearchHookRunner.


The documentation for this interface was generated from the following file: