Debian Codegraph @

includes/logging/Hook/LogEventsListGetExtraInputsHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 use LogEventsList;
6
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "LogEventsListGetExtraInputs" to register handlers implementing this interface.
10 *
11 * @stable to implement
12 * @ingroup Hooks
13 */
14 interface LogEventsListGetExtraInputsHook {
15 /**
16 * This hook is called when getting extra inputs to display on
17 * Special:Log for a specific log type.
18 *
19 * @since 1.35
20 *
21 * @param string $type Log type being displayed
22 * @param LogEventsList $logEventsList LogEventsList object for context
23 * and access to the WebRequest
24 * @param string &$unused
25 * @param array &$formDescriptor HTMLForm's form descriptor
26 * @return bool|void True or no return value to continue or false to abort
27 */
28 public function onLogEventsListGetExtraInputs( $type, $logEventsList, &$unused,
29 &$formDescriptor
30 );
31 }