MediaWiki REL1_35
ContentSecurityPolicyDefaultSourceHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
23 public function onContentSecurityPolicyDefaultSource( &$defaultSrc,
24 $policyConfig, $mode
25 );
26}
onContentSecurityPolicyDefaultSource(&$defaultSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP load sources.