mediawiki-skins-MinervaNeue/includes/Hooks/SkinMinervaOptionsInitHook.php
Umherirrender 903034de23 Create HookRunner class and the hook handler interface
Bug: T315823
Change-Id: I09c45ed939e103e6edb3a76623687574dcf0206f
2023-06-09 22:19:59 +02:00

23 lines
570 B
PHP

<?php
namespace MediaWiki\Minerva\Hooks;
use MediaWiki\Minerva\SkinOptions;
use Skin;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "SkinMinervaOptionsInit" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SkinMinervaOptionsInitHook {
/**
* @param Skin $skin
* @param SkinOptions $skinOptions
* @return bool|void True or no return value to continue or false to abort
*/
public function onSkinMinervaOptionsInit( Skin $skin, SkinOptions $skinOptions );
}