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 }
Legacy class representing an editable page and handling UI for some page actions.
Definition: Article.php:61
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition: HTMLForm.php:158
This is a hook handler interface, see docs/Hooks.md.
onActionBeforeFormDisplay( $name, $form, $article)
This hook is called before executing the HTMLForm object.