Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22897

Missing access to persistent variable through LegacyHelper

    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' ) %}
      

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/873
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/dcbe5fa54cc5ba7b6ab38871de10a43310093cd5

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: