MediaWiki  master
MediaWiki\Skins\Hook\SkinAfterPortletHook Interface Reference

Stable to implement. 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

Stable to implement.

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