MediaWiki
master
UserGetLanguageObjectHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Context\IContextSource
;
6
use
MediaWiki\User\User
;
7
15
interface
UserGetLanguageObjectHook
{
26
public
function
onUserGetLanguageObject
( $user, &$code, $context );
27
}
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Hook\UserGetLanguageObjectHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserGetLanguageObjectHook.php:15
MediaWiki\Hook\UserGetLanguageObjectHook\onUserGetLanguageObject
onUserGetLanguageObject( $user, &$code, $context)
This hook is called when getting a user's interface language object.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
context
Hook
UserGetLanguageObjectHook.php
Generated on Thu Sep 12 2024 19:22:53 for MediaWiki by
1.10.0