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.
All I want is to add some class attributes to a link in hook_url_outbound_alter() rather than having to force l() to use theme('link') by adding modulename_preproces_link(). I need to do more testing if this is feasible and more performant that using theme('link').
Comment | File | Size | Author |
---|---|---|---|
#1 | 1213888-alter-l-options-from-url.patch | 734 bytes | Dave Reid |
Comments
Comment #1
Dave ReidNot ever sure why this doesn't throw a Deprecated pass by reference warning either.
Comment #5
arunkumarkPatch seems no longer applies cleanly.
Comment #14
quietone CreditAttribution: quietone at PreviousNext commented@Dave Reid, thanks for the idea.
l was deprecated and removed in Drupal 9.0. Therefore, closing as outdated.
Thanks!