MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSearchIndexFields (&$fields, $engine) | |
Use this hook to add fields to search index mapping. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchIndexFields" to register handlers implementing this interface.
Definition at line 15 of file SearchIndexFieldsHook.php.
MediaWiki\Search\Hook\SearchIndexFieldsHook::onSearchIndexFields | ( | & | $fields, |
$engine | |||
) |
Use this hook to add fields to search index mapping.
SearchIndexField[] | &$fields | Array of fields, all implement SearchIndexField |
SearchEngine | $engine | SearchEngine instance for which mapping is being built |
Implemented in MediaWiki\HookContainer\HookRunner.