MediaWiki REL1_35
UserGetLanguageObjectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6use User;
7
23 public function onUserGetLanguageObject( $user, &$code, $context );
24}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
Interface for objects which can provide a MediaWiki context on request.
onUserGetLanguageObject( $user, &$code, $context)
This hook is called when getting a user's interface language object.