mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-22 04:32:55 +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;
|
||
|
}
|