MediaWiki master
MediaWiki\Hook\ParserClonedHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onParserCloned ( $parser)
 This hook is called when the parser is cloned.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file ParserClonedHook.php.

Member Function Documentation

◆ onParserCloned()

MediaWiki\Hook\ParserClonedHook::onParserCloned ( $parser)

This hook is called when the parser is cloned.

Since
1.35
Parameters
Parser$parserNewly-cloned Parser object
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: