Allow rendering view modes instead of menu links (submodule)

Created on 11 October 2024, about 1 month ago

Problem/Motivation

Hey, this is just a proposal for the far future, but I think it makes sense to discuss this.

Some days ago I came across entity_submenu_block module, which allows rendering the submenu level of the current page as entity view modes. It has some further options, but that's the key functionality.

As a user of menu_block since ever, I soon thought, this would be super powerful if it would be built on top of menu_block to combine the functionality!

While menu_block allows selecting the levels to render, title, etc. a lot more, entity_submenu_block provides settings to show rendered entities instead of text links in the menu block.

A menu_block submodule, e.g. menu_block_entities (or sth.) would implement the functionality, it would solve the existing functionality plus for example:

  • Render sibling menu items as entities
  • Render multiple menu levels as entities
  • Render a selectable menu tree as entities
  • and that all combined with the title linking etc.

Together, that would be able to solve even more use-cases, which the modules can't solve stand-alone.

So what do you think about that? Should we implement a menu_block submodule based on entity_submenu_block? And what should be the name?

Happy to discuss!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024