MediaWiki  master
MediaWiki\SpecialPage\Hook\SpecialPageBeforeFormDisplayHook Interface Reference

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

Inheritance diagram for MediaWiki\SpecialPage\Hook\SpecialPageBeforeFormDisplayHook:

Public Member Functions

 onSpecialPageBeforeFormDisplay ( $name, $form)
 This hook is called before executing the HTMLForm object. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file SpecialPageBeforeFormDisplayHook.php.

Member Function Documentation

◆ onSpecialPageBeforeFormDisplay()

MediaWiki\SpecialPage\Hook\SpecialPageBeforeFormDisplayHook::onSpecialPageBeforeFormDisplay (   $name,
  $form 
)

This hook is called before executing the HTMLForm object.

Since
1.35
Parameters
string$nameName of the special page
HTMLForm$form
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: