MediaWiki REL1_39
MediaWiki\Hook\ProtectionFormAddFormFieldsHook Interface Reference
Inheritance diagram for MediaWiki\Hook\ProtectionFormAddFormFieldsHook:

Public Member Functions

 onProtectionFormAddFormFields ( $article, &$hookFormOptions)
 This hook is called after all protection type form fields are added.
 

Detailed Description

Stability: stable
to implement

Definition at line 11 of file ProtectionFormAddFormFieldsHook.php.

Member Function Documentation

◆ onProtectionFormAddFormFields()

MediaWiki\Hook\ProtectionFormAddFormFieldsHook::onProtectionFormAddFormFields (   $article,
$hookFormOptions 
)

This hook is called after all protection type form fields are added.

Since
1.36
Parameters
Article$articleTitle being (un)protected
array&$hookFormOptionsAn array to add form fields to
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: