MediaWiki master
ContentSecurityPolicyDirectivesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
25 public function onContentSecurityPolicyDirectives( &$directives, $policyConfig,
26 $mode
27 );
28}
This is a hook handler interface, see docs/Hooks.md.
onContentSecurityPolicyDirectives(&$directives, $policyConfig, $mode)
If ContentSecurityPolicyDefaultSource and ContentSecurityPolicyScriptSource do not meet your needs,...