Page MenuHomeWickedGov Phorge

SearchIndexFieldsHook.php
No OneTemporary

Size
718 B
Referenced Files
None
Subscribers
None

SearchIndexFieldsHook.php

<?php
namespace MediaWiki\Search\Hook;
use SearchEngine;
use SearchIndexField;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchIndexFields" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SearchIndexFieldsHook {
/**
* Use this hook to add fields to search index mapping.
*
* @since 1.35
*
* @param SearchIndexField[] &$fields Array of fields, all implement SearchIndexField
* @param SearchEngine $engine SearchEngine instance for which mapping is being built
* @return bool|void True or no return value to continue or false to abort
*/
public function onSearchIndexFields( &$fields, $engine );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 03:50 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
da/1e/05a5598717ff17a286d94ee27d3a
Default Alt Text
SearchIndexFieldsHook.php (718 B)

Event Timeline