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.
The module file contains many large functions and themes that can be moved to another file. This will reduce the memory consumption for the average page load for most users, and it makes the module a little bit easier to comprehend.
All tests pass. I made no changes to any functions that moved to included files.
Comment | File | Size | Author |
---|---|---|---|
#1 | link-includes-887508-1.patch | 39.91 KB | Anonymous (not verified) |
link-includes.patch | 39.33 KB | Anonymous (not verified) | |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedWhoops. The tests pass only when you use the right patch!
Comment #2
jcfiala CreditAttribution: jcfiala commentedSounds like a neat idea. Let me try it.
Comment #3
jcfiala CreditAttribution: jcfiala commentedOkay, I've applied this to link-DRUPAL-6--2. It should show up as the 6.x-dev version soon.
Please give it a try, folks.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedFor users of Feeds module, the link mapper calls link_cleanup_url() without loading the include file. There's an issue for Feeds module with a patch. #891982: Support Link 2.x