MediaWiki REL1_37
MediaWiki\Hook\ParserGetVariableValueVarCacheHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ParserGetVariableValueVarCacheHook:

Public Member Functions

 onParserGetVariableValueVarCache ( $parser, &$varCache)
 Use this hook to change the value of the variable cache or return false to not use it.
 

Detailed Description

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

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

Deprecated:
since 1.35

Definition at line 14 of file ParserGetVariableValueVarCacheHook.php.

Member Function Documentation

◆ onParserGetVariableValueVarCache()

MediaWiki\Hook\ParserGetVariableValueVarCacheHook::onParserGetVariableValueVarCache (   $parser,
$varCache 
)

Use this hook to change the value of the variable cache or return false to not use it.

Since
1.35
Parameters
Parser$parser
array&$varCacheVariable cache
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: