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

Provide replacement for generating path/url in twig templates for location/content objects

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: None
    • Icon: High High
    • 3.0.0
    • None
    • None
    • None

    Description

      In SF5 is not possible to pass object to path/url Twig function.

      Impl. Twig functions:

      • ez_path
      • ez_url

      which will wrap original function and allow to pass Content, ContentInfo, Location and RouteReference objects as $name argument

      Attachments

        Activity

          People

            Unassigned Unassigned
            adam.wojs@ibexa.co Adam Wójs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: