-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluggage_bean_wysiwyg.features.field_instance.inc
150 lines (145 loc) · 3.84 KB
/
luggage_bean_wysiwyg.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
<?php
/**
* @file
* luggage_bean_wysiwyg.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function luggage_bean_wysiwyg_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'bean-wysiwyg-field_body'.
$field_instances['bean-wysiwyg-field_body'] = array(
'bundle' => 'wysiwyg',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
),
'entity_type' => 'bean',
'field_name' => 'field_body',
'label' => 'Body',
'placeholder' => '',
'required' => 0,
'settings' => array(
'better_formats' => array(
'allowed_formats' => array(
'ds_code' => 0,
'filtered_html' => 0,
'full_html' => 0,
'plain_text' => 0,
'suitcase_interim_block' => 0,
'wysiwyg' => 0,
),
'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' => 10,
),
'suitcase_interim_block' => array(
'weight' => 0,
),
'wysiwyg' => array(
'weight' => 0,
),
),
),
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 2,
),
);
// Exported field_instance: 'bean-wysiwyg-field_wysiwyg_image'.
$field_instances['bean-wysiwyg-field_wysiwyg_image'] = array(
'bundle' => 'wysiwyg',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 1,
),
),
'ds_extras_field_template' => '',
'entity_type' => 'bean',
'field_name' => 'field_wysiwyg_image',
'label' => '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(
'insert' => 1,
'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' => 'thumbnail',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => 3,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Body');
t('Image');
return $field_instances;
}