Customer is asking how to customize some edit form fields when editing a Content of a specific ContentType (let's say article for example).
In legacy this was done by something like:
According to me (but I'm maybe missing something here), this could be easily done using the ViewProvider on the content_edit_view with a specific `form_templates` parameter. This form_templates parameter is an array of templates' paths and will be used to define the form_theme with the `default_form_templates`. This is done here : https://github.com/ezsystems/ezplatform-admin-ui/blob/master/src/bundle/Resources/views/content/content_edit/content_edit_base.html.twig#L4
So to give a concrete example I would have something like this to override some edit form fields for 'Article' Contents :
with 'article_form_fields.html.twig' having some specific form fragments to use (pure symfony here, no need to be exposed).
Untill here evrything is ok.
The issue I'm having here is that `form_templates` (here containing 'article_form_fields.html.twig' path) will be merged with the default_form_templates ( see github repo link above ) in a way that custom form templates can't override default form templates :
Actual version :(so default_form_templates will be added AFTER form_template in the new array)
Needed version :Here our custom form templates will be able to override the standard form templates in the `form_theme` because default form_templates will be BEFORE in the merged array.
And from my understanding and manual tests done, this is not giving side effects on other parts of the admin.
Long story for short fix...