MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onIsValidEmailAddr ( $addr, &$result) | |
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if the domain name doesn't match your organization. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "isValidEmailAddr" to register handlers implementing this interface.
Definition at line 12 of file IsValidEmailAddrHook.php.
MediaWiki\Hook\IsValidEmailAddrHook::onIsValidEmailAddr | ( | $addr, | |
& | $result | ||
) |
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if the domain name doesn't match your organization.
string | $addr | Email address entered by the user |
bool | null | &$result | Set this and return false to override the internal checks |
Implemented in MediaWiki\HookContainer\HookRunner.