Page MenuHomeWickedGov Phorge

UploadFormInitDescriptorHook.php
No OneTemporary

Size
601 B
Referenced Files
None
Subscribers
None

UploadFormInitDescriptorHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UploadFormInitDescriptor" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UploadFormInitDescriptorHook {
/**
* This hook is called after the descriptor for the upload form as been assembled.
*
* @since 1.35
*
* @param array &$descriptor (array) the HTMLForm descriptor
* @return bool|void True or no return value to continue or false to abort
*/
public function onUploadFormInitDescriptor( &$descriptor );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 22:00 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
82/03/e0af436c2e0e0641405587def6a3
Default Alt Text
UploadFormInitDescriptorHook.php (601 B)

Event Timeline