- 🇫🇷France Grimreaper France 🇫🇷
Closing as per #3245169-2: Switch to PHP plugins? →
When making form examples for #3214707: Provide default examples → , I encountered a lot of warnings with elements that need preparation callbacks that I guess are not executed when doing a render.
I propose that exampl plugins could have either a "render" or a "form" key.
In the case of a "form" key it will be the form builder service that will prepare the result.
(PS: using a form builder will be impossible because it requires a form class as argument, I just thought about it after creating the issue...)
And I propose to use a form_alter introduced in https://git.drupalcode.org/project/ui_examples/-/merge_requests/1/diffs#... to loop on some field elements to add automatically all declinations (required, disabled, placeholders, etc.)
Closed: works as designed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Closing as per #3245169-2: Switch to PHP plugins? →