< Manual:Hooks
| LogEventsListGetExtraInputs | |
|---|---|
| Available from version 1.25.0 (Gerrit change 169540) When getting extra inputs to display on Special:Log for a specific log type | |
| Define function: | public static function onLogEventsListGetExtraInputs( string $type, LogEventsList $logEventsList, string &$input, array &$formDescriptor ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"LogEventsListGetExtraInputs": "MyExtensionHooks::onLogEventsListGetExtraInputs"
}
}
|
| Called from: | File(s): logging/LogEventsList.php Function(s): getExtraInputs |
| Interface: | LogEventsListGetExtraInputsHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:LogEventsListGetExtraInputs extensions.
Details
- $type: String of log type being displayed
- $logEventsList: LogEventsList object for context and access to the WebRequest
- &$input: string HTML of an input element (deprecated in 1.32)
- &$formDescriptor: HTMLForm's form descriptor
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.