MediaWiki REL1_35
MediaWiki\Hook\SkinBuildSidebarHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SkinBuildSidebarHook:

Public Member Functions

 onSkinBuildSidebar ( $skin, &$bar)
 This hook is called at the end of Skin::buildSidebar().
 

Detailed Description

Stable to implement.

Definition at line 11 of file SkinBuildSidebarHook.php.

Member Function Documentation

◆ onSkinBuildSidebar()

MediaWiki\Hook\SkinBuildSidebarHook::onSkinBuildSidebar (   $skin,
$bar 
)

This hook is called at the end of Skin::buildSidebar().

Since
1.35
Parameters
Skin$skin
array&$barSidebar contents. Modify $bar to add or modify sidebar portlets.
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: