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

Twig Helper to get field name, description and other properties in a template

    Details

    • Sprint:
      Castor Core S8

      Description

      As a developper, i need a twig helper to get translated field definition name in a template using a twig function like ez_field_name(content, 'myFieldIdentifier', [forcedLAnguage])

        Activity

        Show
        Florent Huck (Inactive) added a comment - linked to https://github.com/ezsystems/ezpublish-kernel/pull/980
        Show
        André Rømcke added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/1030
        Show
        André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/085eb3612db6eb9e18f5f03cb16888861d1297b3
        Show
        André Rømcke added a comment - DOC pages added: https://doc.ez.no/display/EZP/ez_field_name https://doc.ez.no/display/EZP/ez_field_description https://doc.ez.no/display/EZP/ez_trans_prop
        Hide
        Ricardo Correia (Inactive) added a comment -

        QA approved.

        Show
        Ricardo Correia (Inactive) added a comment - QA approved.

          People

          • Assignee:
            Unassigned
            Reporter:
            Florent Huck (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 20 minutes
              20m

                Agile