MediaWiki REL1_40
UserGetLanguageObjectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6use User;
7
26 public function onUserGetLanguageObject( $user, &$code, $context );
27}
internal since 1.36
Definition User.php:71
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onUserGetLanguageObject( $user, &$code, $context)
This hook is called when getting a user's interface language object.