MediaWiki REL1_35
MediaWiki\User\Hook\UserLoadDefaultsHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 11 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: