You are here

function fieldgroup_display_overview_form in Content Construction Kit (CCK) 5

1 call to fieldgroup_display_overview_form()
fieldgroup_form_alter in ./fieldgroup.module
1 string reference to 'fieldgroup_display_overview_form'
fieldgroup_form_alter in ./fieldgroup.module

File

./fieldgroup.module, line 462
Create field groups for CCK fields.

Code

function fieldgroup_display_overview_form($content_type) {
  $groups = fieldgroup_groups($content_type);
  $form = array();
  $form['#tree'] = TRUE;
  foreach ($groups as $group_name => $group) {
    $form[$group_name] = fieldgroup_display_overview_form_row($group);
  }
  return $form;
}