When demo_mode, limit component list to only SDCs provided by the active theme (and not subthemes)

Created on 9 January 2025, about 2 months ago

Overview

For demo_mode, we want to simplify the component list to just a small set of curated components. For Drupal CMS, this is the set that's in the demo_cms_olivero theme (more will still be added there prior to the Drupal CMS 1.0 release). We do not want to bring in SDCs from modules or from the active theme's subthemes (e.g., Olivero).

Proposed resolution

Change ComponentPluginManager or something it delegates to, to only create Component config entities for SDCs provided by the active theme (and not its subthemes or modules). Alternatively, instead of changing ComponentPluginManager, perhaps create a separate class like DemoModeComponentPluginManager and make that the service when in demo mode? But that might be overkill.

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Page builder

Created by

🇺🇸United States effulgentsia

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

Comments & Activities

Production build 0.71.5 2024