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.
Here is a patch to support translated menus (hide menu items that are not in the current language).
Next comment contains the patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | translated_menus-1444622-2.patch | 891 bytes | emorency |
Comments
Comment #1
emorency CreditAttribution: emorency commentedComment #2
akalam CreditAttribution: akalam commentedIt works. Thanks!
Comment #3
Chi CreditAttribution: Chi commentedRender function only accepts variables passed by reference.