Timeline for Global preprocess for all links
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 23, 2018 at 6:57 | comment | added | Hudri | Addendum: This solution also needs a cache context for links in blocks or menus, otherwise you might get cached links without added parameters. | |
Apr 20, 2018 at 7:27 | comment | added | Stefanos Petrakis | @Hudri happy it worked, thanks for the gist, I updated the answer accordingly, including a mod version of it. | |
Apr 19, 2018 at 23:12 | comment | added | osman |
This works great. I notice the <link> tags in the head also inherits the changes (i.e. canonical, alternate, shortlink, etc).
|
|
Apr 19, 2018 at 12:45 | history | bounty ended | Hudri | ||
Apr 19, 2018 at 10:59 | history | edited | Stefanos Petrakis | CC BY-SA 3.0 |
added 252 characters in body
|
Apr 19, 2018 at 10:23 | vote | accept | Hudri | ||
Apr 19, 2018 at 10:19 | comment | added | Hudri |
Thanks, this worked for both, link fields and links inside text fields / CKeditor. @Stefanos, it might be helpful for others to include a services.yml example in your answer, I didn't know first how to use the tags . You can copy it from my Gist
|
|
Apr 18, 2018 at 14:44 | history | answered | Stefanos Petrakis | CC BY-SA 3.0 |