FFAfterFormHandling hook
When FlexForm is finished processing a submit form and just before it will set notification and return to the user, this Hook will run.
Allowing people to do additional actions with the information submitted by the Form.
<tbody> </tbody>BeforeCreateEchoEvent | |
---|---|
Available from version ??? (<a href="https://gerrit.wikimedia.org/r/29436" class="extiw" title="gerrit:29436">Gerrit change 29436</a>) Allows registration of custom Echo events |
|
Define function: | <span></span><span class="k">public</span> <span class="k">static</span> <span class="k">function</span> <span class="nf">onBeforeCreateEchoEvent</span><span class="p">(</span> <span class="o">&</span><span class="nv">$echoNotifications</span><span class="p">,</span> <span class="o">&</span><span class="nv">$echoNotificationCategories</span><span class="p">,</span> <span class="o">&</span><span class="nv">$echoNotificationIcons</span> <span class="p">)</span> <span class="p">{</span> <span class="o">...</span> <span class="p">}</span>
|
Attach hook: | <span></span><span class="nv">$wgHooks</span><span class="p">[</span><span class="s1">'BeforeCreateEchoEvent'</span><span class="p">][]</span> <span class="o">=</span> <span class="s1">'MyExtensionHooks::onBeforeCreateEchoEvent'</span><span class="p">;</span>
|
Called from: | File(s): <a href="/wiki/Special:MyLanguage/Extension:Echo" title="Special:MyLanguage/Extension:Echo">Echo</a> / includes/EchoHooks.php Function(s): <a class="external text" href="https://doc.wikimedia.org/mediawiki-core/master/php/classEchoHooks.html">initEchoExtension</a> |