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.
What is $new_trail?
Comment | File | Size | Author |
---|---|---|---|
#7 | 574862_D6.patch | 1.93 KB | jhodgdon |
#1 | 574862.patch | 1.94 KB | jhodgdon |
Comments
Comment #1
jhodgdonAttached patch adds details to doc for menu_set_active_trail()
If accepted, this should also probably be ported to D6.
Comment #2
jhodgdonComment #3
moshe weitzman CreditAttribution: moshe weitzman commentedThanks.
Comment #4
Dries CreditAttribution: Dries commentedThis seems to be a bit of a WTF but that is not the point of this patch.
Committed to CVS HEAD.
Comment #5
jhodgdonStill needs port to D6.
Comment #6
jhodgdonAnd I somewhat agree on the WTF, but I thought the function doc ought to at least document what the function actually, currently does... :)
Comment #7
jhodgdonHere's a D6 version. Identical to D7 version, as the functions work the same.
Comment #8
Gábor HojtsyThanks, committed to Drupal 6 too.