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

[API] Add shorthand name property on Content for ease of use

    XMLWordPrintable

    Details

      Description

      As of EZP-27428 VersionInfo->getName() is in the correct language depending on context, and to better take advantage of this there should be a name property on Content to reduce typing on this very common use case, especially in templates.

      Effectively, instead of:
      content.versionInfo.name

      You'll get it via:
      content.name

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andre.romcke@ez.no André Rømcke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: