MediaWiki  master
ActionBeforeFormDisplayHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Article;
6 use HTMLForm;
7 
26  public function onActionBeforeFormDisplay( $name, $form, $article );
27 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ActionBeforeFormDisplayHook\onActionBeforeFormDisplay
onActionBeforeFormDisplay( $name, $form, $article)
This hook is called before executing the HTMLForm object.
MediaWiki\Hook\ActionBeforeFormDisplayHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ActionBeforeFormDisplayHook.php:15
Article
Class for viewing MediaWiki article and history.
Definition: Article.php:47
HTMLForm
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition: HTMLForm.php:135