-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfga_event_base.field_group.inc
123 lines (117 loc) · 3.64 KB
/
fga_event_base.field_group.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
/**
* @file
* fga_event_base.field_group.inc
*/
/**
* Implements hook_field_group_info().
*/
function fga_event_base_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_event_location|node|event|form';
$field_group->group_name = 'group_event_location';
$field_group->entity_type = 'node';
$field_group->bundle = 'event';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Location',
'weight' => '3',
'children' => array(
0 => 'group_loc_where',
1 => 'group_loc_venue',
),
'format_type' => 'htabs',
'format_settings' => array(
'formatter' => '',
'instance_settings' => array(
'classes' => '',
),
),
);
$export['group_event_location|node|event|form'] = $field_group;
$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_loc_venue|node|event|form';
$field_group->group_name = 'group_loc_venue';
$field_group->entity_type = 'node';
$field_group->bundle = 'event';
$field_group->mode = 'form';
$field_group->parent_name = 'group_event_location';
$field_group->data = array(
'label' => 'Choose a venue',
'weight' => '9',
'children' => array(
0 => 'field_venue',
1 => 'field_event_venue',
),
'format_type' => 'htab',
'format_settings' => array(
'label' => 'Choose a venue',
'instance_settings' => array(
'required_fields' => 1,
'classes' => '',
'description' => '',
),
'formatter' => 'closed',
),
);
$export['group_loc_venue|node|event|form'] = $field_group;
$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_loc_where|node|event|form';
$field_group->group_name = 'group_loc_where';
$field_group->entity_type = 'node';
$field_group->bundle = 'event';
$field_group->mode = 'form';
$field_group->parent_name = 'group_event_location';
$field_group->data = array(
'label' => 'Enter a location',
'weight' => '8',
'children' => array(
0 => 'field_event_where',
),
'format_type' => 'htab',
'format_settings' => array(
'label' => 'Enter a location',
'instance_settings' => array(
'required_fields' => 1,
'classes' => '',
'description' => '',
),
'formatter' => 'open',
),
);
$export['group_loc_where|node|event|form'] = $field_group;
$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_location|node|event|form';
$field_group->group_name = 'group_location';
$field_group->entity_type = 'node';
$field_group->bundle = 'event';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Location',
'weight' => '4',
'children' => array(
0 => 'group_loc_where',
1 => 'group_loc_venue',
),
'format_type' => 'htabs',
'format_settings' => array(
'label' => 'Location',
'instance_settings' => array(
'classes' => '',
),
),
);
$export['group_location|node|event|form'] = $field_group;
return $export;
}