You are here

function fieldgroup_panels_fieldgroup_title in Content Construction Kit (CCK) 5

'Title' callback for the 'fieldgroup' panel.

1 string reference to 'fieldgroup_panels_fieldgroup_title'
fieldgroup_panels_content_types in ./fieldgroup.module
Implementation of hook_panels_content_types()

File

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

Code

function fieldgroup_panels_fieldgroup_title($conf, $context) {
  $types = fieldgroup_groups(NULL, FALSE, FALSE);
  $type = $types[$conf['type_name']][$conf['group']];
  return t('"@s" fieldgroup @name', array(
    '@s' => $context->identifier,
    '@name' => $type['label'],
  ));
}