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.
I can clone the field groups from all other view modes of my Content type to all other view modes EXCEPT from the "full content" view mode,
the "full content" option is not available in the select to clone the field groups from.
Comment | File | Size | Author |
---|---|---|---|
#4 | field_group-clone-view-modes-2533642.patch | 1005 bytes | tbenice |
Comments
Comment #1
Percept CreditAttribution: Percept commentedComment #2
tbenice CreditAttribution: tbenice commentedYea this is kind of important IMO. Folks often layout only full not default and copying from full is desired.
Comment #3
tbenice CreditAttribution: tbenice commentedapparently only view modes that have custom_settings==true (ones that are enabled by default for all node types) are available from which to copy field groups. I'm looking into a way around this.
Comment #4
tbenice CreditAttribution: tbenice as a volunteer and commentedOK, so, we can use the same mechanism as used by field_ui module to determine which view modes are enabled on a particular bundle.
Patch attached.
Comment #5
tbenice CreditAttribution: tbenice as a volunteer and commentedAny chance of getting this simple one committed? Thanks!!
Comment #6
kristofferwiklund CreditAttribution: kristofferwiklund at Websystem commentedWe are using this and it works nice.