MediaWiki  master
MediaWiki\Hook\BaseTemplateAfterPortletHook Interface Reference
Inheritance diagram for MediaWiki\Hook\BaseTemplateAfterPortletHook:

Public Member Functions

 onBaseTemplateAfterPortlet ( $template, $portlet, &$html)
 This hook is called after output of portlets, allow injecting custom HTML after the section. More...
 

Detailed Description

Deprecated:
since 1.35 Use SkinAfterPortlet instead

Definition at line 11 of file BaseTemplateAfterPortletHook.php.

Member Function Documentation

◆ onBaseTemplateAfterPortlet()

MediaWiki\Hook\BaseTemplateAfterPortletHook::onBaseTemplateAfterPortlet (   $template,
  $portlet,
$html 
)

This hook is called after output of portlets, allow injecting custom HTML after the section.

Any uses of the hook need to handle escaping.

Since
1.35
Parameters
BaseTemplate$template
string$portletPortlet name
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: