MediaWiki REL1_37
|
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 | The selected source type |
Implemented in MediaWiki\HookContainer\HookRunner.