Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7429389
UploadFormSourceDescriptorsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
761 B
Referenced Files
None
Subscribers
None
UploadFormSourceDescriptorsHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UploadFormSourceDescriptors" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UploadFormSourceDescriptorsHook
{
/**
* This hook is called after the standard source inputs have been added to the descriptor.
*
* @since 1.35
*
* @param array &$descriptor The HTMLForm descriptor
* @param bool &$radio Boolean, if source type should be shown as radio button
* @param string $selectedSourceType
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUploadFormSourceDescriptors
(
&
$descriptor
,
&
$radio
,
$selectedSourceType
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 09:57 (11 h, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/ba/292fe652642cd31413e3ba609ad7
Default Alt Text
UploadFormSourceDescriptorsHook.php (761 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment