-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluggage_bean_adventure.features.field_instance.inc
245 lines (238 loc) · 7.38 KB
/
luggage_bean_adventure.features.field_instance.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<?php
/**
* @file
* luggage_bean_adventure.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function luggage_bean_adventure_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'bean-adventure-field_adventure_caption'.
$field_instances['bean-adventure-field_adventure_caption'] = array(
'bundle' => 'adventure',
'default_value' => NULL,
'deleted' => 0,
'description' => 'You may add a brief description. The amount of space available for the caption is dictated by the height of the image.<br><b>Be sure to test that your caption does not overflow the image.</b>',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 2,
),
),
'entity_type' => 'bean',
'field_name' => 'field_adventure_caption',
'label' => 'Caption',
'placeholder' => '',
'required' => 0,
'settings' => array(
'better_formats' => array(
'allowed_formats' => array(
'ds_code' => 'ds_code',
'filtered_html' => 'filtered_html',
'full_html' => 'full_html',
'plain_text' => 'plain_text',
'suitcase_interim_block' => 'suitcase_interim_block',
'wysiwyg' => 'wysiwyg',
),
'allowed_formats_toggle' => 0,
'default_order_toggle' => 0,
'default_order_wrapper' => array(
'formats' => array(
'ds_code' => array(
'weight' => 12,
),
'filtered_html' => array(
'weight' => 0,
),
'full_html' => array(
'weight' => 1,
),
'plain_text' => array(
'weight' => -9,
),
'suitcase_interim_block' => array(
'weight' => 0,
),
'wysiwyg' => array(
'weight' => 0,
),
),
),
),
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 3,
),
);
// Exported field_instance: 'bean-adventure-field_adventure_image'.
$field_instances['bean-adventure-field_adventure_image'] = array(
'bundle' => 'adventure',
'deleted' => 0,
'description' => 'This is the hero banner image. Recommended size width is at least 2000px wide by 500px tall. <b>Your image should be about 700k</b>; if it is much larger please resize and compress it. The height of the image will determine how much space is available for the caption.<br><b>Be sure to check that your caption does not overflow this image.</b>',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 0,
),
),
'entity_type' => 'bean',
'field_name' => 'field_adventure_image',
'label' => 'Image',
'required' => 1,
'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(
'insert' => 0,
'insert_absolute' => 0,
'insert_class' => '',
'insert_default' => 'auto',
'insert_styles' => array(
'auto' => 'auto',
'icon_link' => 0,
'image' => 0,
'image_announcement_full' => 0,
'image_flexslider_full' => 0,
'image_flexslider_thumbnail' => 0,
'image_large' => 0,
'image_medium' => 0,
'image_people_full' => 0,
'image_people_thumb' => 0,
'image_sceenshot_medium_200' => 0,
'image_screenshot_thumbnail' => 0,
'image_thumbnail' => 0,
'link' => 0,
),
'insert_width' => '',
'preview_image_style' => 'large',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => 2,
),
);
// Exported field_instance: 'bean-adventure-field_adventure_position'.
$field_instances['bean-adventure-field_adventure_position'] = array(
'bundle' => 'adventure',
'default_value' => array(
0 => array(
'value' => 'bean-adventure_left_bottom',
),
),
'deleted' => 0,
'description' => 'Choose the position of the caption over the image.',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 4,
),
),
'entity_type' => 'bean',
'field_name' => 'field_adventure_position',
'label' => 'Position',
'required' => 1,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 5,
),
);
// Exported field_instance: 'bean-adventure-field_adventure_url'.
$field_instances['bean-adventure-field_adventure_url'] = array(
'bundle' => 'adventure',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Add a button to the banner',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'link',
'settings' => array(),
'type' => 'link_default',
'weight' => 3,
),
),
'entity_type' => 'bean',
'field_name' => 'field_adventure_url',
'label' => 'URL',
'required' => 0,
'settings' => array(
'absolute_url' => 1,
'attributes' => array(
'class' => '',
'configurable_class' => 0,
'configurable_title' => 0,
'rel' => '',
'target' => 'default',
'title' => '',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'rel_remove' => 'default',
'title' => 'required',
'title_label_use_field_label' => 0,
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
'user_register_form' => FALSE,
'validate_url' => 1,
),
'widget' => array(
'active' => 0,
'module' => 'link',
'settings' => array(),
'type' => 'link_field',
'weight' => 4,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Add a button to the banner');
t('Caption');
t('Choose the position of the caption over the image.');
t('Image');
t('Position');
t('This is the hero banner image. Recommended size width is at least 2000px wide by 500px tall. The height of the image will determine how much space is available for the caption.<br><b>Be sure to check that your caption does not overflow this image.</b>');
t('URL');
t('You may add a brief description. The amount of space available for the caption is dictated by the height of the image.<br><b>Be sure to test that your caption does not overflow the image.</b>');
return $field_instances;
}