[development] theming local tasks (a.k.a. tabs)

David Cohen drupal at dave-cohen.com
Mon Aug 17 17:39:56 UTC 2009


Two issues on d.o that have received very little traction:
http://drupal.org/node/371453
http://drupal.org/node/521852

The problem is that theme_menu_local_task($link, $active=FALSE) is
passed very little information, making it impossible to mark up a
secondary link any differently from a primary link.

So is there some secret way to do this?  Or do these issues have little
traction because so few of us ever run into this?

Note that I realize there are wrappers which surround links, and these
may have primary or secondary class associated with them.  But for my
purposes that's not sufficient.  I need to change the actual markup of
the links, the wrapper classes just don't do it for me.

-Dave


More information about the development mailing list