Manual:Hooks/EmailUserForm
Appearance
EmailUserForm | |
---|---|
Available from version 1.17.0 (r64903, CodeReview archive) Occurs after building the email user form object | |
Define function: | public static function onEmailUserForm( $form ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"EmailUserForm": "MediaWiki\\Extension\\MyExtension\\Hooks::onEmailUserForm"
}
}
|
Called from: | File(s): specials/SpecialEmailUser.php |
Interface: | EmailUserFormHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:EmailUserForm extensions.
Details
[edit]- $form: HTMLForm object