- Issue created by @pdureau
- 🇫🇷France pdureau Paris
DONE:
- Code sniffer
- Restore buildComponentData and rename it buildComponentRenderable
- Slots before props in form builder
- Restore source_id in ComponentFormPropsBuilder
TODO ComponentFormPropsBuilder:
- Extract
protected static function buildPropForm(FormStateInterface $form_state, string $prop_id, array $definition, array $configuration, array $contexts): array
called from$element[$prop_id] = self::buildPropForm($form_state, $prop_id, $prop, $configuration[$prop_id] ?? [], $contexts);
- Extract
protected static function buildSourceSelector(FormStateInterface $form_state, string $prop_id, string $wrapper_id, array $sources, SourceInterface $selected_source): array
called from$element['dropdown_actions'] = self::buildSourceSelector($form_state, $prop_id, $wrapper_id, $sources, $selected_source);
TODO ComponentFormPropsBuilder:
- Extract
protected static function buildSlotForm(FormStateInterface $form_state, string $slot_id, array $definition, array $configuration, array $options): array
called from$element[$slot_id] = self::buildSlotForm($form_state, $slot_id, $slot, $configuration[$slot_id] ?? [], $options);
- Extract
protected static function buildSourceForm(FormStateInterface $form_state, string $slot_id, array $definition, array $configuration, int $delta, string $wrapper_id): array
called from$element['sources'][$delta] = self::buildSourceForm($form_state, $slot_id, $definition, $source_configuration, $delta, $wrapper_id);
TODO other:
- Rename form elements?
- Remove SourcePluginManager::buildPluginConfiguration()
- Assigned to Christian.wiedemann
- Status changed to Needs review
10 months ago 1:26pm 11 February 2024 - 🇫🇷France pdureau Paris
I didn't have the time to do everything i wanted, but that's enough for this issue which is becoming big.
Merge request is ready.
-
Christian.wiedemann →
committed f4514fa9 on 2.0.x authored by
pdureau →
Resolve #3420517 "2.0.0 alpha1 follwoing form"
-
Christian.wiedemann →
committed f4514fa9 on 2.0.x authored by
pdureau →
- Issue was unassigned.
- Status changed to Fixed
10 months ago 12:22am 13 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.