mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-18 19:00:50 +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;
|
||
|
}
|