MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onUserGetLanguageObject ( $user, &$code, $context) | |
This hook is called when getting a user's interface language object. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserGetLanguageObject" to register handlers implementing this interface.
Definition at line 15 of file UserGetLanguageObjectHook.php.
MediaWiki\Hook\UserGetLanguageObjectHook::onUserGetLanguageObject | ( | $user, | |
& | $code, | ||
$context ) |
This hook is called when getting a user's interface language object.
User | $user | |
string | &$code | Language code that will be used to create the object |
IContextSource | $context |
Implemented in MediaWiki\HookContainer\HookRunner.