mediawiki-skins-Vector/includes/Hooks/VectorSearchResourceLoaderConfigHook.php
Ammarpad 3452647071 Hook: Create HookRunner and interface for own hook
Bug: T348040
Change-Id: I63a7e71a06729dbf607ef9bb275896e42db1b6e0
2023-10-10 22:03:43 +00:00

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;
}