MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onLocalUserCreated ( $user, $autocreated) | |
This hook is called when a local user has been created. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LocalUserCreated" to register handlers implementing this interface.
Definition at line 14 of file LocalUserCreatedHook.php.
MediaWiki\Auth\Hook\LocalUserCreatedHook::onLocalUserCreated | ( | $user, | |
$autocreated ) |
This hook is called when a local user has been created.
After this hook User::saveSettings is called to save all modification done in the hook handlers, like changed user properties or changed user preferences.
User | $user | User object for the created user |
bool | $autocreated | Whether this was an auto-creation |
Implemented in MediaWiki\HookContainer\HookRunner.