Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It is a big pain when you lost all field templates in the cloned layout. Imagine you have lots of fields and you have to set the field template for every field from the scratch.
How can we fix that? If there is some time for me I will try to figure that out.
Comment | File | Size | Author |
---|---|---|---|
#3 | ds-clone_field_settings-2011580-3.patch | 1.12 KB | progpapa |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedYou can always try this :)
Comment #2
progpapa CreditAttribution: progpapa at NDP commentedThis would be really handy. The attached patch seems to do the trick for me, not sure if it breaks anything else...
Comment #3
progpapa CreditAttribution: progpapa at NDP commentedThis should be the right patch, sorry.
The previous one was using the wrong view mode name in
ds_get_field_settings()
.