Block layout import

Created on 22 September 2025, 2 months ago

Problem/Motivation

Currently when creating a page layout with Display Builder, default layout is imported from modules/display_builder_page_layout/fixtures/default_page_layout.yml, if it is the first page layout, let's try to import from current block layout configuration.

Because currently, a user could ask:
- why is there the XXX block while I have removed it?
- where are all the blocks I have configured on block layout?

Also currently, the fixture references some blocks generated by derivatives from config, menu block, main, account, footer. What if there is no footer menu on the website? (very low probability that there is no main and account menu even if theorically possible)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

display_builder_page_layout

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024