-
Notifications
You must be signed in to change notification settings - Fork 4
/
ting_search_context.features.field_instance.inc
154 lines (149 loc) · 4.11 KB
/
ting_search_context.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
<?php
/**
* @file
* ting_search_context.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function ting_search_context_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'node-ding_search_context_link-field_search_context_link'.
$field_instances['node-ding_search_context_link-field_search_context_link'] = array(
'bundle' => 'ding_search_context_link',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Requires af valid url. Either "http:// .." or "/foo/bar..". System urls "node/10.." are not valid',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'link',
'settings' => array(),
'type' => 'link_default',
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser_highlight' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_search_context_link',
'label' => 'Link',
'required' => 1,
'settings' => array(
'attributes' => array(
'class' => '',
'configurable_title' => 0,
'rel' => '',
'target' => 'default',
'title' => '',
),
'display' => array(
'url_cutoff' => 80,
),
'enable_tokens' => 1,
'rel_remove' => 'default',
'title' => 'none',
'title_maxlength' => 128,
'title_value' => '',
'url' => 0,
'user_register_form' => FALSE,
'validate_url' => 0,
),
'widget' => array(
'active' => 0,
'module' => 'link',
'settings' => array(),
'type' => 'link_field',
'weight' => 33,
),
);
// Exported field_instance: 'node-ding_search_context_link-field_search_context_list_image'.
$field_instances['node-ding_search_context_link-field_search_context_list_image'] = array(
'bundle' => 'ding_search_context_link',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 1,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser_highlight' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_search_context_list_image',
'label' => 'List image',
'required' => 1,
'settings' => array(
'alt_field' => 0,
'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' => 'media',
'settings' => array(
'allowed_schemes' => array(
'public' => 'public',
'vimeo' => 0,
'youtube' => 0,
),
'allowed_types' => array(
'audio' => 0,
'document' => 0,
'image' => 'image',
'video' => 0,
),
'browser_plugins' => array(
'ding_content' => 0,
'media_default--media_browser_1' => 0,
'media_default--media_browser_my_files' => 0,
'media_internet' => 0,
'upload' => 0,
'youtube' => 0,
),
'progress_indicator' => 'throbber',
),
'type' => 'media_generic',
'weight' => 32,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Link');
t('List image');
t('Requires af valid url. Either "http:// .." or "/foo/bar..". System urls "node/10.." are not valid');
return $field_instances;
}