Closed (duplicate)
Project:
Drupal core
Version:
9.2.x-dev
Component:
link.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2016 at 07:34 UTC
Updated:
21 Dec 2020 at 04:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
Swetha Yarla commentedComment #4
heykarthikwithuUpdated with changes.
Comment #6
vg3095 commentedComment #8
Swetha Yarla commentedComment #10
Swetha Yarla commentedComment #11
Swetha Yarla commentedComment #12
dawehnerWe should always patch against the latest dev version. Thank you for providing a patch!
Comment #13
n.kishorekumar commentedRe rolling the patch to the version 8.2.x-dev
Comment #14
n.kishorekumar commentedComment #15
n.kishorekumar commentedPlease find the patch...
Comment #17
dawehnerThose changes don't really make sense. Here we want to check for the actual string, so maybe use ->toString in there
Comment #18
mac_weber commented- Fixed what was pointed by @dawehner at #17
- Fixed preprocess function to use the same object as before for rendering
- Moved
useto alphabetical order- Changed comment at twig template:
Comment #19
mahtoranjeet commentedReviewed and Tested Patch.
Replaced \Drupal::l with Link::fromTextAndUrl() in Link Module
Patch is working as expected.
Comment #29
quietone commentedThanks to everyone who worked on this patch.
This was fixed in #2731817: Replace all calls to the deprecated Drupal::url() function in Core in April 2019, I am closing this as a duplicate of that one.