MediaWiki  master
AddNewAccountHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
11 interface AddNewAccountHook {
21  public function onAddNewAccount( $user, $byEmail );
22 }
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:55
MediaWiki\Hook\AddNewAccountHook
Definition: AddNewAccountHook.php:11