Debian Codegraph @

includes/ResourceLoader/Hook/ResourceLoaderSiteModulePagesHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\ResourceLoader\Hook;
4
5 /**
6 * This is a hook handler interface, see docs/Hooks.md.
7 * Use the hook name "ResourceLoaderSiteModulePages" to register handlers implementing this interface.
8 *
9 * @stable to implement
10 * @ingroup ResourceLoaderHooks
11 */
12 interface ResourceLoaderSiteModulePagesHook {
13 /**
14 * Change which wiki pages comprise the `site` module in given skin.
15 *
16 * This hook is called from MediaWiki\ResourceLoader\SiteModule.
17 *
18 * @since 1.35
19 * @param string $skin Current skin key
20 * @param array &$pages Array of pages and their types
21 * @return void This hook must not abort, it must return no value
22 */
23 public function onResourceLoaderSiteModulePages( $skin, array &$pages ): void;
24 }