< Extension:MWUnit < Hooks
MWUnitGetReservedFunctions | |
---|---|
Available from version 0.10 called when the list of reserved parser functions is collected; can be used to add or remove items from the list |
|
Define function: | public static function onMWUnitGetReservedFunctions( array &$reserved_functions ) { ... }
|
Attach hook: | $wgHooks['MWUnitGetReservedFunctions'][] = 'MyExtensionHooks::onMWUnitGetReservedFunctions';
|
Called from: | File(s): MWUnit / src/ParserFunction/ParserMockParserFunction.php Function(s): getReservedFunctions |
For more information about attaching hooks, see Manual:Hooks
For examples of other extensions using this hook, see Category:MWUnitGetReservedFunctions extensions.
Details
- array &$reserved_functions: The array of the names of the reserved parser functions as strings
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.