Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\ParserOutput\EntityParserOutputUpdater Interface Reference
+ Inheritance diagram for Wikibase\Repo\ParserOutput\EntityParserOutputUpdater:

Public Member Functions

 updateParserOutput (ParserOutput $parserOutput, EntityDocument $entity)
 Update extension data, properties or other data in ParserOutput.
 

Detailed Description

Member Function Documentation

◆ updateParserOutput()

Wikibase\Repo\ParserOutput\EntityParserOutputUpdater::updateParserOutput ( ParserOutput $parserOutput,
EntityDocument $entity )

Update extension data, properties or other data in ParserOutput.

These updates are invoked when EntityContent::getParserOutput is called.

Parameters
ParserOutput$parserOutput
EntityDocument$entity
Returns
void

Implemented in Wikibase\Repo\ParserOutput\ItemParserOutputUpdater, Wikibase\Repo\ParserOutput\PropertyParserOutputUpdater, and Wikibase\Repo\ParserOutput\ReferencedEntitiesDataUpdater.


The documentation for this interface was generated from the following file: