MediaWiki  master
MediaWiki\Hook\LogEventsListGetExtraInputsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\LogEventsListGetExtraInputsHook:

Public Member Functions

 onLogEventsListGetExtraInputs ( $type, $logEventsList, &$input, &$formDescriptor)
 This hook is called when getting extra inputs to display on Special:Log for a specific log type. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file LogEventsListGetExtraInputsHook.php.

Member Function Documentation

◆ onLogEventsListGetExtraInputs()

MediaWiki\Hook\LogEventsListGetExtraInputsHook::onLogEventsListGetExtraInputs (   $type,
  $logEventsList,
$input,
$formDescriptor 
)

This hook is called when getting extra inputs to display on Special:Log for a specific log type.

Since
1.35
Parameters
string$typeLog type being displayed
LogEventsList$logEventsListLogEventsList object for context and access to the WebRequest
string&$inputHTML of an input element. Deprecated, use $formDescriptor instead.
array&$formDescriptorHTMLForm's form descriptor
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: