MediaWiki
REL1_35
ResourceLoaderGetConfigVarsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
Config
;
6
11
interface
ResourceLoaderGetConfigVarsHook
{
27
public
function
onResourceLoaderGetConfigVars
( array &$vars, $skin,
Config
$config ) : void;
28
}
Config
Interface for configuration instances.
Definition
Config.php:30
MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook
Stable to implement.
Definition
ResourceLoaderGetConfigVarsHook.php:11
MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook\onResourceLoaderGetConfigVars
onResourceLoaderGetConfigVars(array &$vars, $skin, Config $config)
Export static site-wide mw.config variables to JavaScript.
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderGetConfigVarsHook.php
Generated on Sat Apr 6 2024 00:07:41 for MediaWiki by
1.9.8