MediaWiki REL1_39
MediaWiki\User\Hook\UserLoadDefaultsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\User\Hook\UserLoadDefaultsHook:

Public Member Functions

 onUserLoadDefaults ( $user, $name)
 This hook is called when loading a default user.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserLoadDefaults" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file UserLoadDefaultsHook.php.

Member Function Documentation

◆ onUserLoadDefaults()

MediaWiki\User\Hook\UserLoadDefaultsHook::onUserLoadDefaults ( $user,
$name )

This hook is called when loading a default user.

Since
1.35
Parameters
User$user
string$nameUser name
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: