MediaWiki  master
MediaWiki\Hook\UploadFormInitDescriptorHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\UploadFormInitDescriptorHook:

Public Member Functions

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

Detailed Description

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

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

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: