uw_virtual_site_homepage.features.field_base.inc 8.78 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * @file
 * uw_virtual_site_homepage.features.field_base.inc
 */

/**
 * Implements hook_field_default_field_bases().
 */
function uw_virtual_site_homepage_field_default_field_bases() {
  $field_bases = array();

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
  // Exported field_base: 'field_uw_credentials'
  $field_bases['field_uw_credentials'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_uw_credentials',
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

42
43
  // Exported field_base: 'field_uw_department'
  $field_bases['field_uw_department'] = array(
44
45
46
47
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
48
    'field_name' => 'field_uw_department',
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

71
72
  // Exported field_base: 'field_uw_email_homepage'
  $field_bases['field_uw_email_homepage'] = array(
73
74
75
76
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
77
    'field_name' => 'field_uw_email_homepage',
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

100
101
  // Exported field_base: 'field_uw_extension'
  $field_bases['field_uw_extension'] = array(
102
103
104
105
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
106
    'field_name' => 'field_uw_extension',
107
108
109
110
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
  // Exported field_base: 'field_uw_faculty_list'
  $field_bases['field_uw_faculty_list'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_uw_faculty_list',
    'foreign keys' => array(),
    'indexes' => array(
      'value' => array(
        0 => 'value',
      ),
    ),
    'locked' => 0,
    'module' => 'list',
    'settings' => array(
      'allowed_values' => array(
        'default' => 'University of Waterloo',
147
148
149
150
151
152
        'ahs' => 'Faculty of Applied Health Sciences',
        'arts' => 'Faculty of Arts',
        'engineering' => 'Faculty of Engineering',
        'environment' => 'Faculty of Environment',
        'math' => 'Faculty of Mathematics',
        'science' => 'Faculty of Science',
153
154
155
156
157
158
159
160
161
        'cgc' => 'Conrad Grebel University College',
        'ren' => 'Renison University College',
        'stj' => 'St. Jerome\'s University',
        'stp' => 'St. Paul\'s University College',
      ),
      'allowed_values_function' => '',
    ),
    'translatable' => 0,
    'type' => 'list_text',
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
  // Exported field_base: 'field_uw_home_page_banners'
  $field_bases['field_uw_home_page_banners'] = array(
    'active' => 1,
    'cardinality' => 10,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_uw_home_page_banners',
    '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',
  );

194
195
  // Exported field_base: 'field_uw_office_hours'
  $field_bases['field_uw_office_hours'] = array(
196
197
198
199
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
200
    'field_name' => 'field_uw_office_hours',
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
    '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',
  );

221
222
  // Exported field_base: 'field_uw_office_location'
  $field_bases['field_uw_office_location'] = array(
223
224
225
226
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
227
    'field_name' => 'field_uw_office_location',
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

250
251
  // Exported field_base: 'field_uw_phone_number'
  $field_bases['field_uw_phone_number'] = array(
252
253
254
255
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
256
    'field_name' => 'field_uw_phone_number',
257
258
259
260
    'foreign keys' => array(
      'format' => array(
        'columns' => array(
          'format' => 'format',
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
        ),
        'table' => 'filter_format',
      ),
    ),
    'indexes' => array(
      'format' => array(
        0 => 'format',
      ),
    ),
    'locked' => 0,
    'module' => 'text',
    'settings' => array(
      'max_length' => 255,
    ),
    'translatable' => 0,
    'type' => 'text',
  );

279
280
  // Exported field_base: 'field_uw_profile_image'
  $field_bases['field_uw_profile_image'] = array(
281
282
283
284
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
285
    'field_name' => 'field_uw_profile_image',
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
    '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',
  );

309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
  // Exported field_base: 'field_uw_site_description'
  $field_bases['field_uw_site_description'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(
      0 => 'node',
    ),
    'field_name' => 'field_uw_site_description',
    '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_with_summary',
  );

338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
  // Exported field_base: 'field_uw_theme_settings'
  $field_bases['field_uw_theme_settings'] = array(
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_uw_theme_settings',
    'foreign keys' => array(),
    'indexes' => array(
      'value' => array(
        0 => 'value',
      ),
    ),
    'locked' => 0,
    'module' => 'list',
    'settings' => array(
      'allowed_values' => array(
        'default' => 'University of Waterloo',
        'ahs' => 'Applied Health Science',
        'arts' => 'Arts',
        'engineering' => 'Engineering',
        'environment' => 'Environment',
        'math' => 'Math',
        'science' => 'Science',
362
        'cgc' => 'Conrad Grebel University College',
363
364
365
366
367
368
369
370
371
372
        'ren' => 'Renison University College',
        'stj' => 'St. Jerome\'s University',
        'stp' => 'St. Paul\'s University College',
      ),
      'allowed_values_function' => '',
    ),
    'translatable' => 0,
    'type' => 'list_text',
  );

373
374
  return $field_bases;
}