Manual:Hooks/EditPage::importFormData

From mediawiki.org
Jump to navigation Jump to search
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": "MyExtensionHooks::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]