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\Skins\Hook;
4
5use MediaWiki\ResourceLoader as RL;
6
7/**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinPageReadyConfig" to register handlers implementing this interface.
10 *
11 * @stable to implement
12 */
13interface SkinPageReadyConfigHook {
14    /**
15     * Allows skins to change the `mediawiki.page.ready` module configuration.
16     *
17     * @since 1.36
18     * @param RL\Context $context
19     * @param mixed[] &$config Associative array of configurable options
20     * @return void This hook must not abort, it must return no value
21     */
22    public function onSkinPageReadyConfig(
23        RL\Context $context,
24        array &$config
25    ): void;
26}