When using the new hook_field_formatter_settings_*_alter with ds fields it is very hard to know which formatter has been choosed in the parameters so formatter dependant settings are hard to show/hide/format in the form or the summary.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ds-hooks-field-formatter-add-formatter-1863654-1.patch | 2.36 KB | duaelfr |
Comments
Comment #1
duaelfrThis patch has been built to avoid side effects so it should not create new bugs.
It adds formatter name to the context for settings form and settings summary for the ds fields.
Plus, it also adds formatter data to the context for core fields settings summary.
Comment #2
swentel commentedLooks sane, will commit this but not before december 18 (that's when my vacation starts), but you can rely on the patch if you want already :)
Comment #3
duaelfrThank you Kristof.
Comment #4
swentel commentedCommitted and pushed, thanks!
Comment #5
duaelfrThanks to you :)
Comment #6
swentel commented