- Issue created by @pdureau
- 🇫🇷France pdureau Paris
Will be done directly in display_builder:
diff --git a/src/Plugin/display_builder/Island/BuilderPanel.php b/src/Plugin/display_builder/Island/BuilderPanel.php index 1411306..d8a628b 100644 --- a/src/Plugin/display_builder/Island/BuilderPanel.php +++ b/src/Plugin/display_builder/Island/BuilderPanel.php @@ -115,6 +115,8 @@ class BuilderPanel extends IslandPluginBase { foreach ($component['slots'] ?? [] as $slot_id => $definition) { $build['#slots'][$slot_id] = $this->buildComponentSlot($builder_id, $slot_id, $definition, $data, $instance_id); + // Prevent the slot to be generated again. + unset($build['#ui_patterns']['slots'][$slot_id]); } if ($this->isEmpty($build)) {