[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: |
|
||||||||||||||||
| 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 |