Layout and block reorganization

Created on 7 August 2023, over 1 year ago
Updated 17 April 2024, 9 months ago

Problem/Motivation

As discussed in previous issues #3353493-12: Add ui_styles_page sub module , current state:

  • ui_styles_block: "Block layout" blocks
  • ui_styles_layout_builder: Layouts and blocks placed in Layout Builder

Proposed resolution

Goal:

  • ui_styles_block: blocks anywhere it may be used.
    • "Block layout" blocks
    • Layout Builder blocks
    • block field?
  • ui_styles_layout: layouts anywhere it may be used.
    • Layout Builder
    • View mode
    • Page Manager

That way there will be no more Layout Builder specificities and anywhere blocks and layout are used, UI Styles could automatically be used.

Remaining tasks

- We may need to wait for 📌 Introduce hook_plugin_subform_alter() for use with PluginFormInterface Needs work to land in Core to alter the configuration forms.
- Use this occasion to better name the config entries in layouts and blocks.
- Need to decide if the approaches proposed in #3238226-10: Apply styles to Layout Builder layout regions are what we want.
- Need to POC stuff like generic alteration of layouts rendering ( #3238226-11: Apply styles to Layout Builder layout regions ).
- Config and data migration (config layouts and layout builder overrides)
- Deprecate ui_styles_layout_builder

Data model changes

To define after POC.

🌱 Plan
Status

Postponed

Version

1.0

Component

Miscellaneous

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Comments & Activities

Production build 0.71.5 2024