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