Join GitHub today
EZP-29825 Change form templates merge order to let me override form fragments #720
For a customer I need to override some specific content edit form fragment depending of the content type of the edited content. (The customer will go in 2.4 when released)
This could be achieved easily with the ViewProvider on the content_edit_view passing a form_templates param containing the specific form fragments I want to display ( see example in jira ticket )
For this I need my custom form templates to be after the standard form templates in the array used by the form_theme.
@StephaneDiot you should be able to alter the order via configuration:
This change might break UI in case of file loading order change and now block from different file might be rendered.
Dec 6, 2018
Mention in release notes already prepared in ezsystems/developer-documentation@438f8a7#diff-19de2e0707ca2fdf165e416531cb5309R104