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": "MediaWiki\\Extension\\MyExtension\\Hooks::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.
Details
edit- $obj: EchoEvent that was created
See also
edit- BeforeEchoEventInsert hook, run before an event is created