Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4089282
UserLoadDefaultsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
UserLoadDefaultsHook.php
View Options
<?php
namespace
MediaWiki\User\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserLoadDefaults" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserLoadDefaultsHook
{
/**
* This hook is called when loading a default user.
*
* @since 1.35
*
* @param User $user
* @param string $name User name
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserLoadDefaults
(
$user
,
$name
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 10:29 (6 w, 8 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/0f/6af886e8fb2b1107e346d9f56fd0
Default Alt Text
UserLoadDefaultsHook.php (571 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment