forked from kalamuna/hot_primary_tout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hot_primary_tout.features.defaultconfig.inc
202 lines (191 loc) · 5.46 KB
/
hot_primary_tout.features.defaultconfig.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?php
/**
* @file
* hot_primary_tout.features.defaultconfig.inc
*/
/**
* Implements hook_defaultconfig_features().
*/
function hot_primary_tout_defaultconfig_features() {
return array(
'hot_primary_tout' => array(
'field_default_fields' => 'field_default_fields',
'user_default_permissions' => 'user_default_permissions',
),
);
}
/**
* Implements hook_defaultconfig_field_default_fields().
*/
function hot_primary_tout_defaultconfig_field_default_fields() {
$fields = array();
// Exported field: 'fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_caption'.
$fields['fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_caption'] = array(
'field_config' => array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_hot_primary_tout_caption',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(),
'translatable' => 0,
'type' => 'text_long',
),
'field_instance' => array(
'bundle' => 'hot_primary_tout_third',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 1,
),
),
'entity_type' => 'fieldable_panels_pane',
'field_name' => 'field_hot_primary_tout_caption',
'label' => 'Caption',
'required' => 0,
'settings' => array(
'linkit' => array(
'enable' => 0,
'insert_plugin' => '',
),
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => -3,
),
),
);
// Exported field: 'fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_image'.
$fields['fieldable_panels_pane-hot_primary_tout_third-field_hot_primary_tout_image'] = array(
'field_config' => array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_hot_primary_tout_image',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'indexes' => array(
'fid' => array(
0 => 'fid',
),
),
'locked' => 0,
'module' => 'image',
'settings' => array(
'default_image' => 0,
'uri_scheme' => 'public',
),
'translatable' => 0,
'type' => 'image',
),
'field_instance' => array(
'bundle' => 'hot_primary_tout_third',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'picture',
'settings' => array(
'colorbox' => 'hot_primary_tout_3',
'fallback_image_style' => 'hot_primary_tout_3',
'image_link' => '',
'picture_group' => 'hot_primary_tout_3',
),
'type' => 'picture',
'weight' => 0,
),
),
'entity_type' => 'fieldable_panels_pane',
'field_name' => 'field_hot_primary_tout_image',
'label' => '1/3 Image',
'required' => 0,
'settings' => array(
'alt_field' => 1,
'default_image' => 0,
'file_directory' => '',
'file_extensions' => 'png gif jpg jpeg',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'image',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => -4,
),
),
);
// Translatables
// Included for use with string extractors like potx.
t('1/3 Image');
t('Caption');
return $fields;
}
/**
* Implements hook_defaultconfig_user_default_permissions().
*/
function hot_primary_tout_defaultconfig_user_default_permissions() {
$permissions = array();
// Exported permission: 'create fieldable hot_primary_tout_third'.
$permissions['create fieldable hot_primary_tout_third'] = array(
'name' => 'create fieldable hot_primary_tout_third',
'roles' => array(),
'module' => 'fieldable_panels_panes',
);
// Exported permission: 'delete fieldable hot_primary_tout_third'.
$permissions['delete fieldable hot_primary_tout_third'] = array(
'name' => 'delete fieldable hot_primary_tout_third',
'roles' => array(),
'module' => 'fieldable_panels_panes',
);
// Exported permission: 'edit fieldable hot_primary_tout_third'.
$permissions['edit fieldable hot_primary_tout_third'] = array(
'name' => 'edit fieldable hot_primary_tout_third',
'roles' => array(),
'module' => 'fieldable_panels_panes',
);
return $permissions;
}