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\Request\WebRequest;
8
9/**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "EditPage::importFormData" to register handlers implementing this interface.
12 *
13 * @stable to implement
14 * @ingroup Hooks
15 */
16interface EditPage__importFormDataHook {
17    /**
18     * Use this hook to read additional data posted in the form.
19     *
20     * @since 1.35
21     *
22     * @param EditPage $editpage
23     * @param WebRequest $request
24     * @return bool|void Return value is ignored; this hook should always return true
25     */
26    public function onEditPage__importFormData( $editpage, $request );
27}