csp_source - Twig Function
Info
This feature is available in Contao 5.3 and later.
This function allows you to add a source for a CSP directive. This is helpful if you have e.g. a content element that adds certain internal or external media files or iframes that can be inherently trusted.
Arguments
directive: The CSP directive the source will be added to. Can also be an array of multiple directives.source: The source to be added.