[MAGNOLIA-6021] SiteManager.getLinkPrefix(Node) is site-independent and should be usable without SiteManager – move to TemplatingFunctions Created: 16/Dec/14  Updated: 04/May/15  Resolved: 17/Dec/14

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: None
Fix Version/s: 5.4

Type: Task Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSTK-1456 Make use of TemplatingFunctions#getLi... Closed
relation
is related to MGNLSTK-1162 multisite: expose a method to create ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Extract STK functionality

 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.



 Comments   
Comment by Jan Haderka [ 16/Dec/14 ]

while implementing, pls make sure that it doesn't break functionality described in MGNLSTK-1162 for which this method was introduced.

Generated at Mon Feb 12 04:10:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.