MediaWiki  master
MediaWiki\Hook\SpecialBlockModifyFormFieldsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SpecialBlockModifyFormFieldsHook:

Public Member Functions

 onSpecialBlockModifyFormFields ( $sp, &$fields)
 Use this hook to add more fields to Special:Block. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file SpecialBlockModifyFormFieldsHook.php.

Member Function Documentation

◆ onSpecialBlockModifyFormFields()

MediaWiki\Hook\SpecialBlockModifyFormFieldsHook::onSpecialBlockModifyFormFields (   $sp,
$fields 
)

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

Since
1.35
Parameters
SpecialBlock$spSpecialPage object, for context
array&$fieldsCurrent HTMLForm fields
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: