Decouple generated source plugins from SDC plugins

Created on 18 March 2025, 20 days ago

Overview

We have this method \Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\JsComponent::buildEphemeralSdcPluginInstance.
JsComponents want to make use of the methods in GeneratedFieldExplicitInputUxComponentSourceBase to support building out the component inputs form etc but in order to do so they have to pretend to be an SDC plugin.
Any other component source plugin wanting to do so (e.g. @mohit_aghera is working on one for Pinto β†’ ) needs to do the same.
Additionally we want to be able to do clientside validation of block plugins. This will require them returning some form of schema information.

Proposed resolution

Introduce our own concept of a schema and make use of it for validation/generation. Have the SingleDirectoryComponent derive its own from the SDC plugin metadata.

User interface changes

πŸ“Œ Task
Status

Active

Version

0.0

Component

Component sources

Created by

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

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

Comments & Activities

Production build 0.71.5 2024