MediaWiki REL1_40
MediaWiki\Hook\SkinBuildSidebarHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

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