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.
The default depth is not being used. Our project contains a massive menu that is eating up all memory, so I added a variable for the default depth and tweaked a few things so it used that the first time a user views the menu. Patch to follow...
Comment | File | Size | Author |
---|---|---|---|
#1 | use_default_depth-1362838-0.patch | 1.73 KB | ablondeau |
Comments
Comment #1
ablondeau CreditAttribution: ablondeau commentedComment #2
stevectorI've posted a rewrite of this module here: #1597292: Switch from form_alter to menu_alter approach
Comment #3
stevectorablondeau, can you try the latest dev and let me know if it meets your needs?