Allow modules to hook into top of content/footer sections of new core navigation

Created on 22 July 2024, about 2 months ago
Updated 30 July 2024, about 1 month ago

Problem/Motivation

Navigation uses layout builder to define regions for content and footer. Currently you can place limited blocks into content, but footer is restricted. Modules like Environment Indicator β†’ , Workspaces(core) and Masquerade β†’ are examples of modules that may be useful to claim space in Navigation with more rigid placement.

Proposed resolution

Provide hooks to easier extend the top of the content and footer regions.

Remaining tasks

TBD.

User interface changes

Output content_top and footer_top variables/slots in the template.

API changes

TBD.

Release notes snippet

TBD.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
NavigationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States michaellander

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

Sign in to follow issues

Comments & Activities

  • Issue created by @michaellander
  • πŸ‡ΊπŸ‡ΈUnited States michaellander

    I'm still a bit conflicted, in that I think we should just allow modules to extend on the layout builder usage, and also allow users to add blocks to the navigation footer. However, I realize there's some hesitancy here, so we still should consider giving some means for modules to extend these areas.

  • πŸ‡¨πŸ‡¦Canada m4olivei Grimsby, ON

    Thanks for your work! It's great having your work on env indicator to get a look at the real world pain points in integration.

    Adding a related issue around Navigation's extensibility. I'm not sure ATM if we want to merge the issues or keep both.

Production build 0.71.5 2024