Manual:Hooks/CirrusSearchAddQueryFeatures
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CirrusSearchAddQueryFeatures extensions.
Details
- $config - SearchConfig object which holds current search configuration
- $extraFeatures - array holding feature objects. This is where the extension should add its features. The feature class should implement \CirrusSearch\Query\KeywordFeature.