Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Mike McCaffrey
@mikemccaffrey@drupal.community  ·  activity timestamp 3 weeks ago

There is one big challenge when trying to do component-based-implementation in #Drupal: menus.

The menu templates have no idea how they are being placed on the page, so they can't tell how they should be styled and function. And the region should contain components, not dictate how arbitrary items placed in it are styled.

Considering using template suggestions to allow menu block templates based on the region they are placed in, but not sure if other developers would think to look there.

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login