Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Hook;
4
5// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6use MediaWiki\EditPage\EditPage;
7use MediaWiki\Output\OutputPage;
8
9/**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "EditPage::showReadOnlyForm:initial" to register handlers implementing this interface.
12 *
13 * @stable to implement
14 * @ingroup Hooks
15 */
16interface EditPage__showReadOnlyForm_initialHook {
17    /**
18     * This hook is similar to EditPage::showEditForm:initial
19     * but for the read-only 'view source' variant of the edit form.
20     *
21     * @since 1.35
22     *
23     * @param EditPage $editor
24     * @param OutputPage $out OutputPage instance to write to
25     * @return bool|void Return value is ignored; this hook should always return true
26     */
27    public function onEditPage__showReadOnlyForm_initial( $editor, $out );
28}