MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUploadFormSourceDescriptors (&$descriptor, &$radio, $selectedSourceType) | |
This hook is called after the standard source inputs have been added to the descriptor. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UploadFormSourceDescriptors" to register handlers implementing this interface.
Definition at line 12 of file UploadFormSourceDescriptorsHook.php.
MediaWiki\Hook\UploadFormSourceDescriptorsHook::onUploadFormSourceDescriptors | ( | & | $descriptor, |
& | $radio, | ||
$selectedSourceType ) |
This hook is called after the standard source inputs have been added to the descriptor.
array | &$descriptor | The HTMLForm descriptor |
bool | &$radio | Boolean, if source type should be shown as radio button |
string | $selectedSourceType |
Implemented in MediaWiki\HookContainer\HookRunner.