Manual:Hooks/LinksUpdateConstructed

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.

DetailsEdit

  • $linksupdate: the LinksUpdate object

See alsoEdit