MediaWiki  master
MediaWiki\Hook\SkinAfterBottomScriptsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinAfterBottomScriptsHook:

Public Member Functions

 onSkinAfterBottomScripts ( $skin, &$text)
 This hook is called at the end of Skin::bottomScripts(). More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file SkinAfterBottomScriptsHook.php.

Member Function Documentation

◆ onSkinAfterBottomScripts()

MediaWiki\Hook\SkinAfterBottomScriptsHook::onSkinAfterBottomScripts (   $skin,
$text 
)

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

Since
1.35
Parameters
Skin$skin
string&$textBottomScripts text. Append to $text to add additional text/scripts after the stock bottom scripts.
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: