MediaWiki  master
UserGetEmailHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\User\Hook;
4 
5 use User;
6 
14 interface UserGetEmailHook {
24  public function onUserGetEmail( $user, &$email );
25 }
MediaWiki\User\Hook\UserGetEmailHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetEmailHook.php:14
MediaWiki\User\Hook\UserGetEmailHook\onUserGetEmail
onUserGetEmail( $user, &$email)
This hook is called when getting an user email address.
MediaWiki\User\Hook
Definition: AutopromoteConditionHook.php:3
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56