Merge "mediawiki.api: Remove console warning for legacy token type"
[mediawiki.git] / includes / skins / Hook / SkinAfterPortletHook.php
blobd6f2173d689429db9ff590fa038e4c613b640ffb
1 <?php
3 namespace MediaWiki\Skins\Hook;
5 use Skin;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinAfterPortlet" to register handlers implementing this interface.
11 * @stable to implement
12 * @ingroup Hooks
14 interface SkinAfterPortletHook {
15 /**
16 * This hook is called when generating portlets.
17 * It allows injecting custom HTML after the portlet.
19 * @since 1.35
21 * @param Skin $skin
22 * @param string $portletName
23 * @param string &$html
24 * @return bool|void True or no return value to continue or false to abort
26 public function onSkinAfterPortlet( $skin, $portletName, &$html );