NonceValueSubstitution
Substitutes a cached nonce value with the actual nonce value that is valid for the current request, and which is issued as HTTP CSP header during the frontend rendering process.
Table of Contents
Methods
- substituteNonce() : string|null
Methods
substituteNonce()
public
substituteNonce(array{content: string, nonce: string} $context) : string|null
Parameters
- $context : array{content: string, nonce: string}