ParsoidParser: Record ParserOptions watcher on ParserOutput object
[mediawiki.git] / includes / Hook / EditPage__showEditForm_fieldsHook.php
blob6c509b3f5e6b0917f4a9419cd0a7f8797efb1f0d
1 <?php
3 namespace MediaWiki\Hook;
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6 use MediaWiki\EditPage\EditPage;
7 use OutputPage;
9 /**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "EditPage::showEditForm:fields" to register handlers implementing this interface.
13 * @stable to implement
14 * @ingroup Hooks
16 interface EditPage__showEditForm_fieldsHook {
17 /**
18 * Use this hook to inject form field into edit form.
20 * @since 1.35
22 * @param EditPage $editor EditPage instance for reference
23 * @param OutputPage $out OutputPage instance to write to
24 * @return bool|void Return value is ignored; this hook should always return true
26 public function onEditPage__showEditForm_fields( $editor, $out );