MediaWiki  master
ContentSecurityPolicyScriptSourceHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
23  public function onContentSecurityPolicyScriptSource( &$scriptSrc,
24  $policyConfig, $mode
25  );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook\onContentSecurityPolicyScriptSource
onContentSecurityPolicyScriptSource(&$scriptSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP script sources.
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook
Stable to implement.
Definition: ContentSecurityPolicyScriptSourceHook.php:9