MediaWiki  master
GetLangPreferredVariantHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
25  public function onGetLangPreferredVariant( &$req );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GetLangPreferredVariantHook\onGetLangPreferredVariant
onGetLangPreferredVariant(&$req)
This hook is called in LanguageConverter::getPreferredVariant() to allow fetching the language varian...
MediaWiki\Hook\GetLangPreferredVariantHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetLangPreferredVariantHook.php:12