MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUserSetEmail ( $user, &$email) | |
This hook is called when changing user email address. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserSetEmail" to register handlers implementing this interface.
Definition at line 14 of file UserSetEmailHook.php.
MediaWiki\User\Hook\UserSetEmailHook::onUserSetEmail | ( | $user, | |
& | |||
) |
This hook is called when changing user email address.
User | $user | |
string | new email, change this to override new email address |
Implemented in MediaWiki\HookContainer\HookRunner.