Extension:Echo/EchoEventInsertComplete

EchoEventInsertComplete
Available from versionĀ ???
After a new Echo event has been created
Define function:
public static function onEchoEventInsertComplete( EchoEvent $obj ) { ... }
Attach hook:

In extension.json:

{
	"Hooks": {
		"EchoEventInsertComplete": "MyExtensionHooks::onEchoEventInsertComplete"
	}
}
Called from:File(s): Echo extension
Interface:EchoEventInsertCompleteHook.php

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

DetailsEdit

  • $obj: EchoEvent that was created

See alsoEdit