-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage_content.field_group.inc
133 lines (126 loc) · 3.86 KB
/
page_content.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
124
125
126
127
128
129
130
131
132
133
<?php
/**
* @file
* page_content.field_group.inc
*/
/**
* Implements hook_field_group_info().
*/
function page_content_field_group_info() {
$field_groups = 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_attachments|node|dvsdvswv|form';
$field_group->group_name = 'group_attachments';
$field_group->entity_type = 'node';
$field_group->bundle = 'page';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Attachments',
'weight' => '2',
'children' => array(
0 => 'field_file_assets',
1 => 'field_video_assets',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$field_groups['group_attachments|node|dvsdvswv|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_content|node|dvsdvswv|form';
$field_group->group_name = 'group_content';
$field_group->entity_type = 'node';
$field_group->bundle = 'page';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Page Content',
'weight' => '0',
'children' => array(
0 => 'body',
1 => 'title',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$field_groups['group_content|node|dvsdvswv|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_imagery|node|dvsdvswv|form';
$field_group->group_name = 'group_imagery';
$field_group->entity_type = 'node';
$field_group->bundle = 'page';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Imagery',
'weight' => '1',
'children' => array(
0 => 'field_image_assets',
1 => 'field_slide_assets',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$field_groups['group_imagery|node|dvsdvswv|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_meta|node|page|form';
$field_group->group_name = 'group_meta';
$field_group->entity_type = 'node';
$field_group->bundle = 'page';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Meta Tags',
'weight' => '100',
'children' => array(
0 => 'field_meta_description',
1 => 'field_meta_keywords',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => 'group-meta field-group-tab',
'required_fields' => 1,
),
),
);
$field_groups['group_meta|node|page|form'] = $field_group;
// Translatables
// Included for use with string extractors like potx.
t('Attachments');
t('Imagery');
t('Meta Tags');
t('Page Content');
return $field_groups;
}