Details
Description
In legacy, we had ezpagedata() operator that gave very easy access to persistent_variable.
Fix for EZP-22767 gave easier access to css/js scripts through ezpublish.legacy Twig helper, but we're still missing easy access to persistent_variable.
Example of potential use:
{% set persistent_variable = ezpublish.legacy.get( 'persistent_variable' ) %}