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

Global variable available in twig

    XMLWordPrintable

Details

    • Stetind Sprint 4
    • 1

    Description

      In a pagelayout of the legacy system, we have access to some variables that allow to easily retrieve basics informations like $site.title or $current_user.

      It would be nice have the same thing in Twig through a global variable ezpublish and it would even be nicer to expose the legacy variables in ezpublish.legacy for instance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 2 hours, 10 minutes
                1w 1d 2h 10m