Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6021

SiteManager.getLinkPrefix(Node) is site-independent and should be usable without SiteManager – move to TemplatingFunctions

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • templating
    • None

    Description

      info.magnolia.module.templatingkit.sites.SiteManager defines String getLinkPrefix(Node currentSite) which is only implemented once by info.magnolia.module.templatingkit.sites.STKSiteManager. It doesn't require any Site-related functionality, thus should be moved to info.magnolia.templating.functions.TemplatingFunctions so they can easily be used as replacement.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pmundt Philip Mundt
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR