function _fieldgroup_groups_label in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 5 fieldgroup.module \_fieldgroup_groups_label()
- 6.3 modules/fieldgroup/fieldgroup.module \_fieldgroup_groups_label()
- 6 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 281 - 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;
}