MediaWiki master
MediaWiki\Hook\UploadFormInitDescriptorHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onUploadFormInitDescriptor (&$descriptor)
 This hook is called after the descriptor for the upload form as been assembled.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file UploadFormInitDescriptorHook.php.

Member Function Documentation

◆ onUploadFormInitDescriptor()

MediaWiki\Hook\UploadFormInitDescriptorHook::onUploadFormInitDescriptor ( & $descriptor)

This hook is called after the descriptor for the upload form as been assembled.

Since
1.35
Parameters
array&$descriptor(array) the HTMLForm descriptor
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: