- Issue created by @smustgrave
- Assigned to pdureau
- π«π·France just_like_good_vibes PARIS
Hello, thank you for reporting this bug.
Pierre, i saw you took the issue. i think i may know where it comes from.
When we have field_property which prop_type is "string" (like the processed text we are talking about), the getPropValue from the plugin is returning the data.when the plugin value is used in slots, it goes into the convert mechanism, and the value is then encapsulated into a
[#plain_text => ]
in
Drupal\ui_patterns\Plugin\UiPatterns\PropType\SlotPropType
:public static function convertFrom(string $prop_type, mixed $value): mixed { return match ($prop_type) { 'string' => [ '#plain_text' => $value, ], }; }
- Assigned to just_like_good_vibes
-
just_like_good_vibes β
committed d5149893 on 2.0.x
Issue #3466385 by just_like_good_vibes: Field formatter process text...
-
just_like_good_vibes β
committed d5149893 on 2.0.x
- Issue was unassigned.
- Status changed to Fixed
4 months ago 10:20am 7 August 2024 - Status changed to Fixed
4 months ago 2:47pm 12 August 2024