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.
Previously, local tasks (Tabs) passed through theme('menu_item_link'). Currently they go directly through l(). It is necessary for themes to be able to theme the link in order to do pretty tabs, as it often requires putting markup inside the <a>
tag in order to achieve the proper look. This worked in Drupal 5.
This patch restores this functionality.
Comment | File | Size | Author |
---|---|---|---|
local-task-item-theme.patch | 2.22 KB | merlinofchaos | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedComment #2
chx CreditAttribution: chx commentedIt's okay.
Comment #3
Gábor HojtsyThanks, committed.
Comment #4
(not verified) CreditAttribution: commentedComment #5
adpo CreditAttribution: adpo commentedIt is not working for me.
I received a message:
patching file includes/menu.inc
Hunk #1 FAILED at 908
Hunk #2 FAILED at 1121
Hunk #3 FAILED ar 1153