MediaWiki  master
AddNewAccountHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
14 interface AddNewAccountHook {
24  public function onAddNewAccount( $user, $byEmail );
25 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\AddNewAccountHook\onAddNewAccount
onAddNewAccount( $user, $byEmail)
This hook is called after a user account is created.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68
MediaWiki\Hook\AddNewAccountHook
This is a hook handler interface, see docs/Hooks.md.
Definition: AddNewAccountHook.php:14