MediaWiki REL1_35
MediaWiki\Hook\UploadFormSourceDescriptorsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\UploadFormSourceDescriptorsHook:

Public Member Functions

 onUploadFormSourceDescriptors (&$descriptor, &$radio, $selectedSourceType)
 This hook is called after the standard source inputs have been added to the descriptor.
 

Detailed Description

Stable to implement.

Definition at line 9 of file UploadFormSourceDescriptorsHook.php.

Member Function Documentation

◆ onUploadFormSourceDescriptors()

MediaWiki\Hook\UploadFormSourceDescriptorsHook::onUploadFormSourceDescriptors ( $descriptor,
$radio,
  $selectedSourceType 
)

This hook is called after the standard source inputs have been added to the descriptor.

Since
1.35
Parameters
array&$descriptorThe HTMLForm descriptor
bool&$radioBoolean, if source type should be shown as radio button
string$selectedSourceTypeThe selected source type
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: