MediaWiki  master
MediaWiki\Hook\UploadFormInitDescriptorHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 9 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: