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.
I have a menu:
- Car Makers
-- Subaru
-- Mitsubishi
-- Nissan
In local_menu's output the names of the car makers are link. If leave the block title blank "Car Makers" becomes a plain text title of the block. I want that title to be a link, as though it was the related menu item.
Here's my patch. I suppose someone could turn this into a option in the block configuration screen. :)
If you supply a title in the block configuration screen the title will not be linked.
Comment | File | Size | Author |
---|---|---|---|
local_menu.module.top-link-patch.txt | 1.18 KB | jyg |
Comments
Comment #1
jyg CreditAttribution: jyg commentedComment #2
gthing CreditAttribution: gthing commentedJust what I was looking for. Thanks!
Comment #3
crutch CreditAttribution: crutch commentedThanks!