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.
Currently, when performing url rewriting, the files containing the language provider functions are always included, instead they should be included only if the language provider actually defines an url rewriter callback.
Comment | File | Size | Author |
---|---|---|---|
#4 | language-provider-852524-4.patch | 1008 bytes | oriol_e9g |
#1 | language-852524-1.patch | 1.1 KB | plach |
Comments
Comment #1
plachThe attached patch should fix the issue and slighly improve readability:
The callbacks array is indexed by the callback function to avoid duplicates, so the actual values are unrelevant: by changing NULL to TRUE we should covey the idea that the callback is actually used also at a first glance.
Comment #2
plach#1: language-852524-1.patch queued for re-testing.
Comment #3
plachBugs are fixed in the development version first, backported then.
The patch still applies.
Comment #4
oriol_e9gIssue resurrected, D8 patch rolled.
Comment #5
plach@oriol_e9g:
Since you just rerolled it I think it's fine if you RTBC it, I definitely cannot :)
Comment #6
oriol_e9gOk. Only reroll, so...
Comment #7
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks.