MediaWiki  master
IsValidEmailAddrHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
23  public function onIsValidEmailAddr( $addr, &$result );
24 }
MediaWiki\Hook\IsValidEmailAddrHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsValidEmailAddrHook.php:12
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsValidEmailAddrHook\onIsValidEmailAddr
onIsValidEmailAddr( $addr, &$result)
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if t...