Manual:Hooks/LinksUpdateConstructed

From mediawiki.org
Jump to navigation Jump to search
LinksUpdateConstructed
Available from version 1.11.0
At the end of LinksUpdate() is construction.
Define function:
public static function onLinksUpdateConstructed( $linksupdate ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"LinksUpdateConstructed": "MyExtensionHooks::onLinksUpdateConstructed"
	}
}
Called from: File(s): LinksUpdate.php
Function(s): LinksUpdate::doUpdate()
Interface: LinksUpdateConstructedHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:LinksUpdateConstructed extensions.


Details[edit]

  • $linksupdate: the LinksUpdate object

See also[edit]