Decouple tree storage, introduce tree storage plugins

Created on 18 July 2024, 9 months ago

Overview

SdcController::layout() currently hard-codes loading the tree storage from a field named field_xb_demo.

We need to allow for multiple possible places to store component trees: they may originate from more places than just an XB field (for example: layout builder storage, paragraphs)

Proposed resolution

Add a plugin type for storage and use that instead - see https://git.drupalcode.org/project/experience_builder/-/merge_requests/68 for example - Component tree storage plugin and friends

User interface changes

πŸ“Œ Task
Status

Active

Component

Data model

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

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

Comments & Activities

  • Issue created by @larowlan
  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

    This allows us to remove \Drupal\experience_builder\InternalXbFieldNameResolver::getXbFieldName, removes the restriction that nodes need to use a field called field_xb_demo and provides a bridge for Layout Builder and Paragraphs.

    So I think this should be a stable blocker

  • πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

    tagging for findability

Production build 0.71.5 2024