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

field_group.field_group_read_groups_docs.patch864 bytesbigjim
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch field_group.field_group_read_groups_docs.patch. Unable to apply patch. See the log in the details link for more information. View
Members fund testing for the Drupal project. Drupal Association Learn more


zuuperman’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev

Committed it to dev, thx for noticing this

zuuperman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 627ebac on 7.x-1.x, 8.x-1.x authored by bigjim, committed by zuuperman:
    Issue #2000110 by bigjim: Fixed Comments on field_group_read_groups()...