Remove Layout Builder dependency for the config and rendering of the Navigation sidebar

Created on 25 April 2025, about 1 month ago

Problem/Motivation

In 📌 Remove Layout Builder dependency for the UI of Navigation admin config Active we remove the UI part of LB dependency, here we need to update the config format and rendering to remove the LB dependency.

This means that a new config format is needed, that is understandable by the moderns display builders being worked on, like XB and the PHP necessary to process this config into HTML will need to be brought in core.

Steps to reproduce

Save the navigation configuration, and check the config format being stored.

Proposed resolution

  1. Define the new config format for modern display builders
  2. Use it here
  3. Bring in the supporting PHP necessary to render that config into HTML

Remaining tasks

User interface changes

none

Introduced terminology

probably a lot

API changes

probably quite a few things

Data model changes

Config format stored for the navigation config

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

navigation.module

Created by

🇫🇷France nod_ Lille

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

Merge Requests

Comments & Activities

  • Issue created by @nod_
  • 🇬🇧United Kingdom catch

    Adding some related issues from the XB issue queue.

  • First commit to issue fork.
  • Pipeline finished with Failed
    about 1 month ago
    Total: 184s
    #484611
  • 🇳🇱Netherlands casey

    I've created a MR that removes the dependency on layout_builder while keeping the same config format for navigation.block_layout. The dependency is removed by simply calling the Layout and Block plugin managers directly.

    The UI is still to be replaced. I only emptied navigation LayoutForm and added a new route "navigation.layout" to replace "layout_builder.navigation.view".

  • Pipeline finished with Failed
    about 1 month ago
    Total: 271s
    #484614
  • Pipeline finished with Failed
    about 1 month ago
    Total: 402s
    #484732
  • Pipeline finished with Failed
    about 1 month ago
    #485592
Production build 0.71.5 2024