MediaWiki REL1_41
MediaWiki\Hook\LanguageSelectorHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onLanguageSelector ( $out, $cssClassName)
 Use this hook to change the language selector available on a page.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file LanguageSelectorHook.php.

Member Function Documentation

◆ onLanguageSelector()

MediaWiki\Hook\LanguageSelectorHook::onLanguageSelector ( $out,
$cssClassName )

Use this hook to change the language selector available on a page.

Since
1.35
Parameters
OutputPage$outThe output page.
string$cssClassNameCSS class name of the language selector.
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: