You are here

function field_group_read_groups in Field Group 7

Same name in this branch
  1. 7 field_group.api.php \field_group_read_groups()
  2. 7 field_group.module \field_group_read_groups()
Same name and namespace in other branches
  1. 7.2 field_group.api.php \field_group_read_groups()
  2. 7.2 field_group.module \field_group_read_groups()

Get the groups for the given parameters, uncached.

Parameters

Array $params: The Entity type where field groups are requested.

$enabled: Return enabled or disabled groups.*

See also

field_group_info_groups()

ctools_export_load_object()

5 calls to field_group_read_groups()
field_group_exists in ./field_group.module
Checks if a field_group exists in required context.
field_group_field_attach_delete_bundle in ./field_group.module
Implements hook_field_attach_delete_bundle().
field_group_field_ui_clone_field_groups_validate in ./field_group.field_ui.inc
Validate handler to validate saving existing fieldgroups from one view mode or form to another.
field_group_field_ui_create_vertical_tabs in ./field_group.field_ui.inc
Create vertical tabs.
field_group_info_groups in ./field_group.module
Get all groups.

File

./field_group.api.php, line 442
Hooks provided by the Field Group module.

Code

function field_group_read_groups($conditions = array(), $enabled = TRUE) {

  // This function loads the requested groups through ctools export api.
}