MediaWiki
REL1_37
ContentSecurityPolicyScriptSourceHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
12
interface
ContentSecurityPolicyScriptSourceHook
{
26
public
function
onContentSecurityPolicyScriptSource
( &$scriptSrc,
27
$policyConfig, $mode
28
);
29
}
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentSecurityPolicyScriptSourceHook.php:12
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 Fri Apr 5 2024 23:40:17 for MediaWiki by
1.9.8