MediaWiki master
MediaWiki\Skins\Hook\SkinAfterPortletHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSkinAfterPortlet ( $skin, $portletName, &$html)
 This hook is called when generating portlets.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SkinAfterPortlet" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SkinAfterPortletHook.php.

Member Function Documentation

◆ onSkinAfterPortlet()

MediaWiki\Skins\Hook\SkinAfterPortletHook::onSkinAfterPortlet ( $skin,
$portletName,
& $html )

This hook is called when generating portlets.

It allows injecting custom HTML after the portlet.

Since
1.35
Parameters
Skin$skin
string$portletName
string&$html
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: