MediaWiki  master
MediaWiki\Hook\SkinAddFooterLinksHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinAddFooterLinksHook:

Public Member Functions

 onSkinAddFooterLinks (Skin $skin, string $key, array &$footerItems)
 This hook is called when generating the code used to display the footer. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file SkinAddFooterLinksHook.php.

Member Function Documentation

◆ onSkinAddFooterLinks()

MediaWiki\Hook\SkinAddFooterLinksHook::onSkinAddFooterLinks ( Skin  $skin,
string  $key,
array &  $footerItems 
)

This hook is called when generating the code used to display the footer.

Since
1.35
Parameters
Skin$skin
string$keythe current key for the current group (row) of footer links. e.g. info or places.
array&$footerItemsan empty array that can be populated with new links. keys should be strings and will be used for generating the ID of the footer item and value should be an HTML string.
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: