MediaWiki REL1_35
MediaWiki\Skins\Hook\SkinAfterPortletHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Skins\Hook\SkinAfterPortletHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: