MediaWiki  master
MediaWiki\Hook\SkinTemplateNavigation__UniversalHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinTemplateNavigation__UniversalHook:

Public Member Functions

 onSkinTemplateNavigation__Universal ( $sktemplate, &$links)
 This hook is called on both content and special pages after variants have been added. More...
 

Detailed Description

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

Use the hook name "SkinTemplateNavigation::Universal" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file SkinTemplateNavigation__UniversalHook.php.

Member Function Documentation

◆ onSkinTemplateNavigation__Universal()

MediaWiki\Hook\SkinTemplateNavigation__UniversalHook::onSkinTemplateNavigation__Universal (   $sktemplate,
$links 
)

This hook is called on both content and special pages after variants have been added.

Since
1.35
Parameters
SkinTemplate$sktemplate
array&$linksStructured navigation links. This is used to alter the navigation for skins which use buildNavigationUrls such as Vector.
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: