function _seckit_fp in Security Kit 7
Sends Feature-Policy HTTP response header.
Implementation is based on specification draft available at https://developers.google.com/web/updates/2018/06/feature-policy.
1 call to _seckit_fp()
- seckit_init in ./
seckit.module - Implements hook_init().
File
- ./
seckit.module, line 676 - Allows administrators to improve security of the website.
Code
function _seckit_fp() {
$options = _seckit_get_options();
$value = $options['seckit_fp']['feature_policy_policy'];
drupal_add_http_header('Feature-Policy', $value);
}