MediaWiki
REL1_40
LoadUserOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Options\Hook
;
4
5
use
MediaWiki\User\UserIdentity
;
6
14
interface
LoadUserOptionsHook
{
24
public
function
onLoadUserOptions
(
UserIdentity
$user, array &$options ): void;
25
}
MediaWiki\User\Options\Hook\LoadUserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
LoadUserOptionsHook.php:14
MediaWiki\User\Options\Hook\LoadUserOptionsHook\onLoadUserOptions
onLoadUserOptions(UserIdentity $user, array &$options)
This hook is called when user options/preferences are being loaded from the database.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\User\Options\Hook
Definition
LoadUserOptionsHook.php:3
includes
user
Options
Hook
LoadUserOptionsHook.php
Generated on Thu Jun 27 2024 14:04:31 for MediaWiki by
1.10.0