Manual:Hooks/EditPage::importFormData
Appearance
EditPage::importFormData | |
---|---|
Available from version 1.16.0 Called when reading the data from the editform, after post | |
Define function: | public static function onEditPage_importFormData( EditPage &$editpage, WebRequest $request ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"EditPage::importFormData": "MediaWiki\\Extension\\MyExtension\\Hooks::onEditPageimportFormData"
}
}
|
Called from: | File(s): EditPage.php |
Interface: | EditPage__importFormDataHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:EditPage::importFormData extensions.
Details
[edit]- &$editpage: The EditPage object
- $request: The WebRequest object