Skip to content
Newer
Older
100644 226 lines (224 sloc) 4.63 KB
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 24, 2011
1 <?php
2
3 /**
4 * Implementation of hook_conditional_fields_default_fields().
5 */
6 function thurgood_feature_conditional_fields_default_fields() {
7 $items = array();
8 $items[] = array (
9 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
10 'field_name' => 'field_location_address',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
11 'type' => 'event',
12 'trigger_values' =>
13 array (
14 1 => '1',
15 ),
16 );
17 $items[] = array (
18 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
19 'field_name' => 'field_location_additional',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
20 'type' => 'event',
21 'trigger_values' =>
22 array (
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
23 1 => '1',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
24 ),
25 );
26 $items[] = array (
27 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
28 'field_name' => 'field_location_city',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
29 'type' => 'event',
30 'trigger_values' =>
31 array (
32 1 => '1',
33 ),
34 );
35 $items[] = array (
36 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
37 'field_name' => 'field_location_state',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
38 'type' => 'event',
39 'trigger_values' =>
40 array (
41 1 => '1',
42 ),
43 );
44 $items[] = array (
45 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
46 'field_name' => 'field_noderef_place',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
47 'type' => 'event',
48 'trigger_values' =>
49 array (
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
50 0 => '0',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
51 ),
52 );
53 $items[] = array (
54 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
55 'field_name' => 'field_location',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
56 'type' => 'event',
57 'trigger_values' =>
58 array (
59 1 => '1',
60 ),
61 );
62 $items[] = array (
63 'control_field_name' => 'field_toggle_location',
64 'field_name' => 'field_location_zip',
65 'type' => 'event',
66 'trigger_values' =>
67 array (
68 1 => '1',
69 ),
70 );
71 $items[] = array (
72 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
73 'field_name' => 'field_location_name',
74 'type' => 'event',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
75 'trigger_values' =>
76 array (
77 1 => '1',
78 ),
79 );
80 $items[] = array (
81 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
82 'field_name' => 'field_location_address',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
83 'type' => 'organization',
84 'trigger_values' =>
85 array (
86 1 => '1',
87 ),
88 );
89 $items[] = array (
90 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
91 'field_name' => 'field_location_additional',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
92 'type' => 'organization',
93 'trigger_values' =>
94 array (
95 1 => '1',
96 ),
97 );
98 $items[] = array (
99 'control_field_name' => 'field_toggle_location',
5f6c2e0 @Eronarn New Feature version. Some new Views/Contexts; some wording changes; s…
authored Feb 14, 2011
100 'field_name' => 'field_location_city',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
101 'type' => 'organization',
102 'trigger_values' =>
103 array (
104 1 => '1',
105 ),
106 );
107 $items[] = array (
108 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
109 'field_name' => 'field_location_state',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
110 'type' => 'organization',
111 'trigger_values' =>
112 array (
113 1 => '1',
114 ),
115 );
116 $items[] = array (
117 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
118 'field_name' => 'field_location_zip',
119 'type' => 'organization',
120 'trigger_values' =>
121 array (
122 1 => '1',
123 ),
124 );
125 $items[] = array (
126 'control_field_name' => 'field_toggle_location',
127 'field_name' => 'field_location',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
128 'type' => 'organization',
129 'trigger_values' =>
130 array (
131 1 => '1',
132 ),
133 );
134 $items[] = array (
135 'control_field_name' => 'field_toggle_location',
136 'field_name' => 'field_noderef_place',
137 'type' => 'organization',
138 'trigger_values' =>
139 array (
140 0 => '0',
141 ),
142 );
143 $items[] = array (
144 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
145 'field_name' => 'field_location_name',
146 'type' => 'organization',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
147 'trigger_values' =>
148 array (
149 1 => '1',
150 ),
151 );
152 $items[] = array (
153 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
154 'field_name' => 'field_location_address',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
155 'type' => 'person',
156 'trigger_values' =>
157 array (
158 1 => '1',
159 ),
160 );
161 $items[] = array (
162 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
163 'field_name' => 'field_location_additional',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
164 'type' => 'person',
165 'trigger_values' =>
166 array (
167 1 => '1',
168 ),
169 );
170 $items[] = array (
171 'control_field_name' => 'field_toggle_location',
5f6c2e0 @Eronarn New Feature version. Some new Views/Contexts; some wording changes; s…
authored Feb 14, 2011
172 'field_name' => 'field_location_city',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
173 'type' => 'person',
174 'trigger_values' =>
175 array (
176 1 => '1',
177 ),
178 );
179 $items[] = array (
180 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
181 'field_name' => 'field_location_state',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
182 'type' => 'person',
183 'trigger_values' =>
184 array (
185 1 => '1',
186 ),
187 );
188 $items[] = array (
189 'control_field_name' => 'field_toggle_location',
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
190 'field_name' => 'field_location_zip',
191 'type' => 'person',
192 'trigger_values' =>
193 array (
194 1 => '1',
195 ),
196 );
197 $items[] = array (
198 'control_field_name' => 'field_toggle_location',
199 'field_name' => 'field_location',
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
200 'type' => 'person',
201 'trigger_values' =>
202 array (
203 1 => '1',
204 ),
205 );
206 $items[] = array (
207 'control_field_name' => 'field_toggle_location',
208 'field_name' => 'field_noderef_place',
209 'type' => 'person',
210 'trigger_values' =>
211 array (
212 0 => '0',
213 ),
214 );
04446ca @Eronarn New Feature - version 1.1!
authored Feb 28, 2011
215 $items[] = array (
216 'control_field_name' => 'field_toggle_location',
217 'field_name' => 'field_location_name',
218 'type' => 'person',
219 'trigger_values' =>
220 array (
221 1 => '1',
222 ),
223 );
74049e7 @Eronarn Glommed everything into one Feature.
authored Jan 25, 2011
224 return $items;
225 }
Something went wrong with that request. Please try again.