- Status changed to Closed: duplicate
about 1 year ago 5:03pm 26 December 2023 - π§πͺBelgium swentel
going to track and fix this in π Make field template suggestions and preprocess work Active
I have created a Twig Template for the Expert layout for a DS field. The suggestion and template work, however I have noticed that the $variables['settings'] which control Wrappers and such in the Expert field is not getting set as expected in the suggestions.
I did some digging looking at ds.module and it seems that in ds_theme_registry_alter(), specifically the Workaround code starting at Line 154, it appears that not all possible suggestions are being processed here. It seems that field--ds-field-expert--*.html.twig will have the Settings variable set correctly, but the actual suggestions which are: field--expert--* do not.
Initial ideas are to expand suggestions, or to update the Field Suggestion workaround to be more inclusive for all possible suggestion patterns.
Closed: duplicate
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
going to track and fix this in π Make field template suggestions and preprocess work Active