MediaWiki  master
MediaWiki\Hook\ActionBeforeFormDisplayHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ActionBeforeFormDisplayHook:

Public Member Functions

 onActionBeforeFormDisplay ( $name, $form, $article)
 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 "ActionBeforeFormDisplay" to register handlers implementing this interface.

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: