This project is not covered by Drupal’s security advisory policy.
Adds support for the Twig String Extension library
Symfony Unicode String
In order to access the Symfony\Component\String\UnicodeString class in twig, you need to add it as an allowed class in your settings.php with the twig_sandbox_allowed_classes setting. For example:
$settings['twig_sandbox_allowed_classes'] = [
'Symfony\Component\String\UnicodeString',
'Drupal\Core\Template\Attribute',
];
See more on how this is processed in the TwigSandboxPolicy.
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.16 sites report using this module
- Created by jayhuskins on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

