MediaWiki  master
MediaWiki\Skins\Hook\SkinAfterPortletHook Interface Reference

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

Inheritance diagram for MediaWiki\Skins\Hook\SkinAfterPortletHook:

Public Member Functions

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

Detailed Description

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

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

Stable to implement

Definition at line 14 of file SkinAfterPortletHook.php.

Member Function Documentation

◆ onSkinAfterPortlet()

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

This hook is called when generating portlets.

It allows injecting custom HTML after the portlet.

Since
1.35
Parameters
Skin$skin
string$portlet
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: