Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5982001
LoadUserOptionsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
668 B
Referenced Files
None
Subscribers
None
LoadUserOptionsHook.php
View Options
<?php
namespace
MediaWiki\User\Options\Hook
;
use
MediaWiki\User\UserIdentity
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "LoadUserOptions" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
LoadUserOptionsHook
{
/**
* This hook is called when user options/preferences are being loaded from the database.
*
* @since 1.37
*
* @param UserIdentity $user
* @param array &$options Options, can be modified.
* @return void This hook must not abort, it must return no value
*/
public
function
onLoadUserOptions
(
UserIdentity
$user
,
array
&
$options
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 22:09 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
30/e6/e35cae0ebe704470a126bb135066
Default Alt Text
LoadUserOptionsHook.php (668 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment