MediaWiki  master
ContentSecurityPolicyDirectivesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
22  public function onContentSecurityPolicyDirectives( &$directives, $policyConfig,
23  $mode
24  );
25 }
MediaWiki\Hook\ContentSecurityPolicyDirectivesHook\onContentSecurityPolicyDirectives
onContentSecurityPolicyDirectives(&$directives, $policyConfig, $mode)
If ContentSecurityPolicyDefaultSource and ContentSecurityPolicyScriptSource do not meet your needs,...
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ContentSecurityPolicyDirectivesHook
Stable to implement.
Definition: ContentSecurityPolicyDirectivesHook.php:9