MediaWiki REL1_37
MediaWiki\Hook\UploadCompleteHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\UploadCompleteHook:

Public Member Functions

 onUploadComplete ( $uploadBase)
 This hook is called upon completion of a file upload.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UploadComplete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file UploadCompleteHook.php.

Member Function Documentation

◆ onUploadComplete()

MediaWiki\Hook\UploadCompleteHook::onUploadComplete (   $uploadBase)

This hook is called upon completion of a file upload.

Since
1.35
Parameters
UploadBase$uploadBaseUploadBase (or subclass) object. File can be accessed by $uploadBase->getLocalFile().
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: