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.
When I add a field group to a feature it doesn't "take" the first time. I'll add the field group and then my feature will show as defaulted, but if I drush fu or recreate I'll see changes that actually add the field group to the feature. I've had inconsistencies with this and my hunch is that it's related to adding a field group to a feature that already has that content type in it.
Comments
Comment #2
sonfdComment #3
brockfanning CreditAttribution: brockfanning commentedI just ran into this same thing. It happened when doing a "drush fu" on a Features module that had an existing content type, without explicitly exporting the field group to it. The first time, Features automatically exported the .field_group.inc file, and the field_group entry in the .info file. But it didn't export the field_group section in hook_ctools_plugin_api in .features.inc, or the ctools entry in the .info file.
The ctools stuff was added the second time I ran a drush fu.
Comment #4
simeI think this is a duplicate of this https://www.drupal.org/project/field_group/issues/2158287 (please advise if not)
So that it would be a known issue on D7, with workaround, requiring you to save the content type before exporting.