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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nils.destoop’s picture

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

Committed it to dev, thx for noticing this

nils.destoop’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()...