mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-24 05:33:24 +00:00
19 lines
448 B
PHP
19 lines
448 B
PHP
|
<?php
|
||
|
|
||
|
namespace MediaWiki\Skins\Vector\Hooks;
|
||
|
|
||
|
/**
|
||
|
* Use the hook name "VectorSearchResourceLoaderConfig" to register
|
||
|
* handlers implementing this interface to modify Vector's search config.
|
||
|
*
|
||
|
* @stable to implement
|
||
|
* @ingroup Hooks
|
||
|
*/
|
||
|
interface VectorSearchResourceLoaderConfigHook {
|
||
|
/**
|
||
|
* @param array &$vectorSearchConfig
|
||
|
* @return void
|
||
|
*/
|
||
|
public function onVectorSearchResourceLoaderConfig( array &$vectorSearchConfig ): void;
|
||
|
}
|