function oa_sections_field_group_info in Open Atrium Core 7.2
Implements hook_field_group_info().
File
- modules/
oa_sections/ oa_sections.field_group.inc, line 10 - oa_sections.field_group.inc
Code
function oa_sections_field_group_info() {
$export = array();
$field_group = new stdClass();
$field_group->disabled = FALSE;
/* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_access|node|oa_section|form';
$field_group->group_name = 'group_access';
$field_group->entity_type = 'node';
$field_group->bundle = 'oa_section';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Space',
'weight' => '7',
'children' => array(
0 => 'og_group_ref',
),
'format_type' => 'fieldset',
'format_settings' => array(
'label' => 'Space',
'instance_settings' => array(
'required_fields' => 1,
'classes' => '',
'description' => '',
),
'formatter' => 'collapsed',
),
);
$export['group_access|node|oa_section|form'] = $field_group;
return $export;
}