MediaWiki REL1_37
MediaWiki\Hook\ParserClearStateHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ParserClearStateHook:

Public Member Functions

 onParserClearState ( $parser)
 This hook is called at the end of Parser::clearState().
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file ParserClearStateHook.php.

Member Function Documentation

◆ onParserClearState()

MediaWiki\Hook\ParserClearStateHook::onParserClearState (   $parser)

This hook is called at the end of Parser::clearState().

Since
1.35
Parameters
Parser$parserParser object being cleared
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: