Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Deprecated functions are used for link and entity type.
Comment | File | Size | Author |
---|---|---|---|
#11 | deprecated_functions-2786873-11.patch | 16.52 KB | borisson_ |
#11 | interdiff.txt | 12.97 KB | borisson_ |
#9 | deprecated_functions-2786873-9.patch | 8.25 KB | borisson_ |
Comments
Comment #2
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedI have created patch for replacing deprecated functions.
Please check attachment.
Comment #3
borisson_Let's switch the t( call here into $this-t( if the StringTranslationTrait is available here, if it isn't, it might be a good idea to include it anway.
Comment #4
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedHi borisson_
I have done the needful. Thanks for comment.
Please check attached patch.
Comment #5
borisson_Next time please provide an interdiff as well: https://www.drupal.org/documentation/git/interdiff
I have reviewed the patch again and the changes look good, RTBC.
Comment #6
chaitanya17 CreditAttribution: chaitanya17 at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedHi borisson_,
Please refer latest Patch. DsLayout Class specific replacement.
Regards
Chaitanya17
Comment #7
swentel CreditAttribution: swentel as a volunteer commentedChecking for 8.x-3.x
Comment #8
swentel CreditAttribution: swentel as a volunteer commentedPlease combine with #2858575: Replace some deprecated functions.
Comment #9
borisson_Not everything in the other issue still applied, What I copied from the old issue is shown here in interdiff.txt.
Comment #10
aspilicious CreditAttribution: aspilicious commentedWe should inject all the services. Otherwhise, looking good.
Comment #11
borisson_I hope this resolves your issues Bram.
Comment #13
aspilicious CreditAttribution: aspilicious commentedNICE! Thank you guys!