You are here

function _fieldgroup_groups_label in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 5 fieldgroup.module \_fieldgroup_groups_label()
  2. 6 modules/fieldgroup/fieldgroup.module \_fieldgroup_groups_label()
  3. 6.2 modules/fieldgroup/fieldgroup.module \_fieldgroup_groups_label()
1 call to _fieldgroup_groups_label()
content_field_overview_form in includes/content.admin.inc
Menu callback; listing of fields for a content type.

File

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

Code

function _fieldgroup_groups_label($content_type) {
  $groups = fieldgroup_groups($content_type);
  $labels[''] = '<' . t('none') . '>';
  foreach ($groups as $group_name => $group) {
    $labels[$group_name] = t($group['label']);
  }
  return $labels;
}