Feature request to have Menu Block module in core, and remove Main/Secondary menu variables.

Comments

kika’s picture

Thanks Jeff to surface it! See #503810: Convert primary and secondary menus to blocks for related work. Not sure we need the whole menu_block UI/functionality, some of it's advanced functionality is quite ...well... advanced.

dman’s picture

As with any migration from contrib to core, some things will certainly be streamlined I imagine.
However, think of the cruft removed when primary/secondary link handling become just menu slices :^)

catch’s picture

Just a quick thing with primary links. We should have the ability in core to know that the primary links is a just a single level of links, and change the caching strategy for it if so (to be global across the site rather than per path). If you have a site with a million paths, you have to generate the same menu tree a million times at the moment which is a waste if it's really simple. Sorry for off topic rant - I agree with getting some of this functionality into core and getting rid of the special cases too :)

JohnAlbin’s picture

Status: Active » Closed (duplicate)