MediaWiki
REL1_40
ContentSecurityPolicyDefaultSourceHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
12
interface
ContentSecurityPolicyDefaultSourceHook
{
26
public
function
onContentSecurityPolicyDefaultSource
( &$defaultSrc,
27
$policyConfig, $mode
28
);
29
}
MediaWiki\Hook\ContentSecurityPolicyDefaultSourceHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ContentSecurityPolicyDefaultSourceHook.php:12
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 Thu Jun 27 2024 14:02:48 for MediaWiki by
1.10.0