Evolve the organically grown `::getClientSideInfo()` into something cohesive

Created on 24 April 2025, 18 days ago

Overview

This is implemented in various component source plugins, but really is about the internal HTTP API we want to ahve.

This is the issue for

      // @todo UI does not use any other metadata - should `slots` move to top level?

in:

    return [
      'source' => (string) $this->getSourceLabel(),
      'build' => $this->renderComponent([self::EXPLICIT_INPUT_NAME => $default_props_for_default_markup], $component->uuid(), FALSE),
      // Additional data only needed for SDCs.
      // @todo UI does not use any other metadata - should `slots` move to top level?
      'metadata' => ['slots' => $this->getSlotDefinitions()],
      'field_data' => $field_data,
      'dynamic_prop_source_candidates' => $dynamic_prop_source_candidates,
      'transforms' => $transforms,
    ];

in \Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\GeneratedFieldExplicitInputUxComponentSourceBase::getClientSideInfo().

Proposed resolution

TBD

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Internal HTTP API

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Comments & Activities

Production build 0.71.5 2024