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