MediaWiki REL1_37
MediaWiki\Hook\SpecialMuteModifyFormFieldsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SpecialMuteModifyFormFieldsHook:

Public Member Functions

 onSpecialMuteModifyFormFields ( $target, $user, &$fields)
 Use this hook to add more fields to Special:Mute.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialMuteModifyFormFields" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SpecialMuteModifyFormFieldsHook.php.

Member Function Documentation

◆ onSpecialMuteModifyFormFields()

MediaWiki\Hook\SpecialMuteModifyFormFieldsHook::onSpecialMuteModifyFormFields (   $target,
  $user,
$fields 
)

Use this hook to add more fields to Special:Mute.

Since
1.35
Parameters
User | null$targetTarget user
User$userContext user
array&$fieldsCurrent HTMLForm fields descriptors
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: