Extension:Echo/Hooks/BeforeEchoEventInsert

BeforeEchoEventInsert
Available from version 1.22.0 (Gerrit change 86351)

Define function:
public static function onBeforeEchoEventInsert( EchoEvent $event ) { ... }
Attach hook:
$wgHooks['BeforeEchoEventInsert'][] = 'MyExtensionHooks::onBeforeEchoEventInsert';
Called from:File(s): Echo / includes/model/Event.php
Function(s): create

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

Details

edit
  • $event: An EchoEvent object