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.
Add Change record to @deprecated in UrlGeneratorTrait.php
Comment | File | Size | Author |
---|---|---|---|
#4 | 2873844_4.patch | 827 bytes | josephcheek |
Comments
Comment #2
tachiinii CreditAttribution: tachiinii as a volunteer commentedComment #3
heddnComment #4
josephcheekpatch attached.
Comment #5
sorabh.v6Comment #6
sorabh.v6@see have been added to
trait UrlGeneratorTrait
andfunction url()
.I'm setting to RTBC. Thanks All
Comment #7
sorabh.v6Comment #8
Gábor HojtsyDid someone verify that the url() method depreciation is the same as the depreciation of the whole trait? We don't have depreciations on any of the other methods.
Comment #9
heddnThere's actually quite a bit of work needed here to reference All The Things(tm) that got deprecated with that CR: https://www.drupal.org/node/2614344. Please review the notes in in the parent meta #2873705: Add change records to all @deprecated code to see how to go about doing that.
Comment #12
jpmelguizo CreditAttribution: jpmelguizo commentedHey @jmsosso and I will work in this issue for the Sprint Weekend 2018
Comment #13
jpmelguizo CreditAttribution: jpmelguizo commentedWe checked that the deprecated tag was added to the method as well as the trait in the same issue #2606396: mark \Drupal\Core\Routing\LinkGeneratorTrait and \Drupal\Core\Routing\UrlGeneratorTrait as deprecated and it's referencing the same change record added in the previous patch. Deprecated tags were added to LinkGeneratorTrait and its method too but this issue mentions only UrlGeneratorTrait so the scope should be that.
I believe the previous patch from #4 is fine and adds the most relevant change record available.
Comment #14
heddnLet's group a few more things related to the CR into a single patch. It will make things easier for the committers.
Comment #21
quietone CreditAttribution: quietone as a volunteer commentedThanks to everyone who worked on this.
The work here relates to a change that was removed in Drupal 9.0.0. Drupal 8 and Drupal 9.0.0 are no longer supported which means this is outdated.
Therefore, closing as outdated.
Thanks!