MediaWiki
REL1_35
ContentSecurityPolicyScriptSourceHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
9
interface
ContentSecurityPolicyScriptSourceHook
{
23
public
function
onContentSecurityPolicyScriptSource
( &$scriptSrc,
24
$policyConfig, $mode
25
);
26
}
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook
Stable to implement.
Definition
ContentSecurityPolicyScriptSourceHook.php:9
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook\onContentSecurityPolicyScriptSource
onContentSecurityPolicyScriptSource(&$scriptSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP script sources.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
ContentSecurityPolicyScriptSourceHook.php
Generated on Sat Apr 6 2024 00:07:11 for MediaWiki by
1.9.8