MediaWiki REL1_35
MediaWiki\Auth\Hook\LocalUserCreatedHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Auth\Hook\LocalUserCreatedHook:

Public Member Functions

 onLocalUserCreated ( $user, $autocreated)
 This hook is called when a local user has been created.
 

Detailed Description

Stable to implement.

Definition at line 11 of file LocalUserCreatedHook.php.

Member Function Documentation

◆ onLocalUserCreated()

MediaWiki\Auth\Hook\LocalUserCreatedHook::onLocalUserCreated (   $user,
  $autocreated 
)

This hook is called when a local user has been created.

Since
1.35
Parameters
User$userUser object for the created user
bool$autocreatedWhether this was an auto-creation
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: