MediaWiki master
MediaWiki\Hook\ActionBeforeFormDisplayHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file ActionBeforeFormDisplayHook.php.

Member Function Documentation

◆ onActionBeforeFormDisplay()

MediaWiki\Hook\ActionBeforeFormDisplayHook::onActionBeforeFormDisplay ( $name,
$form,
$article )

This hook is called before executing the HTMLForm object.

Since
1.35
Parameters
string$nameName of the action
HTMLForm$form
Article$article
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: