MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onParserTestGlobals (&$globals) | |
Use this hook to define globals for parser tests. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserTestGlobals" to register handlers implementing this interface.
Definition at line 12 of file ParserTestGlobalsHook.php.
MediaWiki\Hook\ParserTestGlobalsHook::onParserTestGlobals | ( | & | $globals | ) |
Use this hook to define globals for parser tests.
array | &$globals | Array with all the globals which should be set for parser tests. The arrays keys serve as the globals' names, its values are the globals' values. |
Implemented in MediaWiki\HookContainer\HookRunner.