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.
This may very well be "by design," but it would be nice to be able select a parent menu item, not just specific menu for a page.
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedSure would be. Alas, the API does not allow for that. The menu module stores its links in the database, but in order to be exportable into code, we can't use the database method, and the API does not allow direct selection of parentage. Instead it will try to discover that by path.
I've put some effort into trying to figure this out, but that part of the menu system is hard to work with.
Comment #2
Albert Volkman CreditAttribution: Albert Volkman commentedHas this been revisited in another tickets since 7.x? Or does the API still restrict this ability?