MediaWiki  master
MediaWiki\Hook\LanguageSelectorHook Interface Reference

Stable for implementation. More...

Inheritance diagram for MediaWiki\Hook\LanguageSelectorHook:

Public Member Functions

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

Detailed Description

Stable for implementation.

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