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.
Patch included that add support for menu_firstchild
Comment | File | Size | Author |
---|---|---|---|
#1 | content_menu-1581840-1-support_menu_first_child.patch | 1.33 KB | Simon Georges |
content_menu_menu_firstchild.patch | 1.27 KB | attiks |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedHi,
Your patch wouldn't apply on current -dev version. And I didn't manage to make it work after applying it manually.
I ended using the following one (with the addition of
$item['module'] = 'menu';
). Could you confirm it works?This patch is part of the #1day1patch initiative.
Comment #2
attiks CreditAttribution: attiks commentedLooks good, thanks for the follow up
Comment #3
Simon Georges CreditAttribution: Simon Georges commentedActually, it should be the other way around: Menu First Child could insert itself into Content Menu using the hook. It's totally possible, and would prevent Content Menu from being required to follow Menu Firstchild eventual implementation change... What do you think?
Comment #4
Chris Matthews CreditAttribution: Chris Matthews commentedI'm closing this 6 year old issue as outdated, but please feel free to re-open if necessary.