MediaWiki  master
MediaWiki\Hook\EditPage__showEditForm_fieldsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\EditPage__showEditForm_fieldsHook:

Public Member Functions

 onEditPage__showEditForm_fields ( $editor, $out)
 Use this hook to inject form field into edit form. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "EditPage::showEditForm:fields" to register handlers implementing this interface.

Stable to implement

Definition at line 16 of file EditPage__showEditForm_fieldsHook.php.

Member Function Documentation

◆ onEditPage__showEditForm_fields()

MediaWiki\Hook\EditPage__showEditForm_fieldsHook::onEditPage__showEditForm_fields (   $editor,
  $out 
)

Use this hook to inject form field into edit form.

Since
1.35
Parameters
EditPage$editorEditPage instance for reference
OutputPage$outOutputPage instance to write to
Returns
bool|void Return value is ignored; this hook should always return true

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: