Extension:Echo/EchoEventInsertComplete
From Linux Web Expert
EchoEventInsertComplete | |
---|---|
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate> After a new Echo event has been created | |
<translate> Define function:</translate> | public static function onEchoEventInsertComplete( EchoEvent $obj ) { ... }
|
<translate> Attach hook:</translate> | <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
"Hooks": {
"EchoEventInsertComplete": "MediaWiki\\Extension\\MyExtension\\Hooks::onEchoEventInsertComplete"
}
}
|
<translate> Called from:</translate> | <translate> File(s):</translate> Echo extension |
<translate> Interface:</translate> | EchoEventInsertCompleteHook.php |
<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:EchoEventInsertComplete extensions</tvar>.</translate>
Details
- $obj: EchoEvent that was created
See also
- BeforeEchoEventInsert hook, run before an event is created