< Extension:Echo < Hooks
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

  • $event: An EchoEvent object
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.