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.
The comments on the field_group_read_groups() function says the elements of the $conditions array are name, bundle, view_mode. In fact they are entity_type, bundle, mode, essentially they match the field name in the field_group table for the call to ctools_export_load_object().
In theory you could also pass group_name and parent_name if you wanted.
Patch attached here
Comment | File | Size | Author |
---|---|---|---|
field_group.field_group_read_groups_docs.patch | 864 bytes | bigjim |
Comments
Comment #1
nils.destoop CreditAttribution: nils.destoop commentedCommitted it to dev, thx for noticing this
Comment #2
nils.destoop CreditAttribution: nils.destoop commented