uw_ct_event.features.field_instance.inc 39.8 KB
Newer Older
1
<?php
Liam Morland's avatar
Liam Morland committed
2

3
4
/**
 * @file
l26yan's avatar
l26yan committed
5
 * uw_ct_event.features.field_instance.inc
6
7
8
9
10
11
12
13
 */

/**
 * Implements hook_field_default_field_instances().
 */
function uw_ct_event_field_default_field_instances() {
  $field_instances = array();

14
  // Exported field_instance: 'node-uw_event-body'.
15
16
17
18
19
  $field_instances['node-uw_event-body'] = array(
    'bundle' => 'uw_event',
    'default_value' => array(
      0 => array(
        'summary' => '',
20
        'format' => 'uw_tf_standard_wide',
21
22
23
24
25
26
27
28
29
30
31
32
      ),
    ),
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 1,
      ),
m26lebla's avatar
m26lebla committed
33
34
35
36
37
38
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
39
40
41
42
43
44
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
45
46
47
48
49
50
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
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
      'full' => array(
        'label' => 'above',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 0,
      ),
      'ical' => array(
        'label' => 'hidden',
        'module' => 'text',
        'settings' => array(
          'trim_length' => 600,
        ),
        'type' => 'text_summary_or_trimmed',
        'weight' => 1,
      ),
      'rss' => array(
        'label' => 'hidden',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 2,
      ),
      'teaser' => array(
        'label' => 'hidden',
        'module' => 'text',
        'settings' => array(
          'trim_length' => 600,
        ),
        'type' => 'text_summary_or_trimmed',
Eric Bremner's avatar
Eric Bremner committed
81
        'weight' => 3,
82
83
84
85
86
87
88
89
90
91
92
93
94
95
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'body',
    'label' => 'Description',
    'required' => 0,
    'settings' => array(
      'better_formats' => array(
        'allowed_formats' => array(
          'full_html' => 'full_html',
          'php_code' => 0,
          'plain_text' => 0,
          'uw_tf_basic' => 0,
          'uw_tf_contact' => 0,
96
          'uw_tf_standard' => 0,
97
98
          'uw_tf_standard_sidebar' => 0,
          'uw_tf_standard_site_footer' => 0,
99
          'uw_tf_standard_wide' => 'uw_tf_standard_wide',
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
        ),
        'allowed_formats_toggle' => 1,
        'default_order_toggle' => 0,
        'default_order_wrapper' => array(
          'formats' => array(
            'full_html' => array(
              'weight' => -6,
            ),
            'php_code' => array(
              'weight' => 11,
            ),
            'plain_text' => array(
              'weight' => 10,
            ),
            'uw_tf_basic' => array(
              'weight' => 0,
            ),
            'uw_tf_contact' => array(
              'weight' => -5,
            ),
            'uw_tf_standard' => array(
              'weight' => -10,
            ),
            'uw_tf_standard_sidebar' => array(
              'weight' => -8,
            ),
            'uw_tf_standard_site_footer' => array(
              'weight' => -7,
            ),
            'uw_tf_standard_wide' => array(
              'weight' => -9,
            ),
          ),
        ),
      ),
      'display_summary' => 1,
136
      'entity_translation_sync' => FALSE,
137
      'exclude_cv' => FALSE,
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
      'text_processing' => 1,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'rows' => 20,
        'summary_rows' => 5,
      ),
      'type' => 'text_textarea_with_summary',
      'weight' => 3,
    ),
  );

153
  // Exported field_instance: 'node-uw_event-field_audience'.
154
155
156
157
158
159
160
161
162
163
164
165
  $field_instances['node-uw_event-field_audience'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 7,
      ),
m26lebla's avatar
m26lebla committed
166
167
168
169
170
171
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
172
173
174
175
176
177
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
178
179
180
181
182
183
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 10,
      ),
      'rss' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 7,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
200
        'weight' => 12,
201
202
203
204
205
206
207
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_audience',
    'label' => 'Audience',
    'required' => 0,
    'settings' => array(
208
      'entity_translation_sync' => FALSE,
209
210
211
212
213
214
215
216
217
      'exclude_cv' => FALSE,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'term_reference_tree',
      'settings' => array(
        'cascading_selection' => 0,
        'filter_view' => '',
218
219
        'label_help_description' => '',
        'leaves_only' => 1,
220
221
222
        'max_depth' => '',
        'parent_term_id' => '',
        'select_parents' => 1,
223
        'start_minimized' => 0,
224
225
226
227
        'token_display' => '',
        'track_list' => 0,
      ),
      'type' => 'term_reference_tree',
mnshantz's avatar
mnshantz committed
228
      'weight' => 11,
229
230
231
    ),
  );

232
  // Exported field_instance: 'node-uw_event-field_event_cost'.
233
234
235
236
237
238
239
240
241
242
243
244
245
  $field_instances['node-uw_event-field_event_cost'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'inline',
        'module' => 'text',
        'settings' => array(),
        'type' => 'text_default',
        'weight' => 4,
      ),
m26lebla's avatar
m26lebla committed
246
247
248
249
250
251
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
252
253
254
255
256
257
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
258
259
260
261
262
263
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 5,
      ),
      'rss' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
280
        'weight' => 10,
281
282
283
284
285
286
287
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_cost',
    'label' => 'Cost',
    'required' => 0,
    'settings' => array(
288
      'entity_translation_sync' => FALSE,
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
      'exclude_cv' => FALSE,
      'text_processing' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'text',
      'settings' => array(
        'size' => 60,
      ),
      'type' => 'text_textfield',
      'weight' => 8,
    ),
  );

304
  // Exported field_instance: 'node-uw_event-field_event_date'.
305
306
307
308
309
310
311
312
313
314
  $field_instances['node-uw_event-field_event_date'] = array(
    'bundle' => 'uw_event',
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'module' => 'date',
        'settings' => array(
          'format_type' => 'long',
315
          'fromto' => 'value',
316
317
318
          'multiple_from' => '',
          'multiple_number' => '',
          'multiple_to' => '',
319
          'show_remaining_days' => 0,
320
321
322
323
324
          'show_repeat_rule' => 'hide',
        ),
        'type' => 'date_default',
        'weight' => 0,
      ),
m26lebla's avatar
m26lebla committed
325
326
327
328
329
330
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
331
332
333
334
335
336
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
337
338
339
340
341
342
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
343
344
345
346
347
348
349
350
351
      'full' => array(
        'label' => 'above',
        'module' => 'date',
        'settings' => array(
          'format_type' => 'long',
          'fromto' => 'both',
          'multiple_from' => '',
          'multiple_number' => '',
          'multiple_to' => '',
352
          'show_remaining_days' => FALSE,
353
354
355
356
357
358
359
360
361
362
          'show_repeat_rule' => 'show',
        ),
        'type' => 'date_default',
        'weight' => 1,
      ),
      'ical' => array(
        'label' => 'hidden',
        'module' => 'date',
        'settings' => array(
          'format_type' => 'long',
363
          'fromto' => 'value',
364
365
366
          'multiple_from' => '',
          'multiple_number' => '',
          'multiple_to' => '',
367
          'show_remaining_days' => 0,
368
369
370
371
372
373
374
375
376
377
378
379
380
381
          'show_repeat_rule' => 'show',
        ),
        'type' => 'date_default',
        'weight' => 0,
      ),
      'rss' => array(
        'label' => 'hidden',
        'module' => 'date',
        'settings' => array(
          'format_type' => 'long',
          'fromto' => 'both',
          'multiple_from' => '',
          'multiple_number' => '',
          'multiple_to' => '',
382
          'show_remaining_days' => FALSE,
383
384
385
386
387
388
          'show_repeat_rule' => 'show',
        ),
        'type' => 'date_default',
        'weight' => 1,
      ),
      'teaser' => array(
Eric Bremner's avatar
Eric Bremner committed
389
390
391
392
        'label' => 'hidden',
        'module' => 'date',
        'settings' => array(
          'format_type' => 'long',
vagrant's avatar
vagrant committed
393
          'fromto' => 'value',
Eric Bremner's avatar
Eric Bremner committed
394
          'multiple_from' => '',
395
          'multiple_number' => 1,
Eric Bremner's avatar
Eric Bremner committed
396
          'multiple_to' => '',
397
398
          'show_remaining_days' => 0,
          'show_repeat_rule' => 'hide',
Eric Bremner's avatar
Eric Bremner committed
399
400
        ),
        'type' => 'date_default',
401
402
403
404
405
406
407
408
409
410
411
412
        'weight' => 0,
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_date',
    'label' => 'Date and time',
    'required' => 1,
    'settings' => array(
      'default_value' => 'now',
      'default_value2' => 'blank',
      'default_value_code' => '',
      'default_value_code2' => '',
413
      'entity_translation_sync' => FALSE,
414
415
416
417
418
419
420
421
422
423
424
425
426
427
      'exclude_cv' => FALSE,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'date',
      'settings' => array(
        'display_all_day' => 1,
        'increment' => 1,
        'input_format' => 'M j Y - g:i:sa',
        'input_format_custom' => '',
        'label_position' => 'above',
        'repeat_collapsed' => 1,
        'text_parts' => array(),
428
        'year_range' => '-10:+3',
429
430
431
432
433
434
      ),
      'type' => 'date_popup',
      'weight' => 1,
    ),
  );

435
  // Exported field_instance: 'node-uw_event-field_event_host_link'.
436
437
438
439
  $field_instances['node-uw_event-field_event_host_link'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
l26yan's avatar
l26yan committed
440
    'description' => 'Optional: provide the name of the host and a link to the host\'s website (e.g. https://uwaterloo.ca/&lt;host website&gt;).',
441
442
443
444
445
446
447
448
    'display' => array(
      'default' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 2,
      ),
m26lebla's avatar
m26lebla committed
449
450
451
452
453
454
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
455
456
457
458
459
460
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
461
462
463
464
465
466
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 8,
      ),
      'rss' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 3,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
484
        'weight' => 11,
485
486
487
488
489
490
491
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_host_link',
    'label' => 'Host',
    'required' => 0,
    'settings' => array(
492
      'absolute_url' => 1,
493
494
      'attributes' => array(
        'class' => '',
495
        'configurable_class' => 0,
496
497
498
499
500
501
502
503
504
        'configurable_title' => 0,
        'rel' => '',
        'target' => 'default',
        'title' => '',
      ),
      'display' => array(
        'url_cutoff' => 80,
      ),
      'enable_tokens' => 1,
505
      'entity_translation_sync' => FALSE,
506
      'rel_remove' => 'default',
507
      'title' => 'optional',
508
      'title_allowed_values' => '',
509
      'title_label_use_field_label' => 0,
510
511
512
513
      'title_maxlength' => 128,
      'title_value' => '',
      'url' => 'optional',
      'user_register_form' => FALSE,
514
      'validate_url' => 1,
515
516
517
518
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'link',
519
520
521
      'settings' => array(
        'label_help_description' => '',
      ),
522
523
524
525
526
      'type' => 'link_field',
      'weight' => 6,
    ),
  );

527
  // Exported field_instance: 'node-uw_event-field_event_image'.
528
529
530
531
532
533
534
535
536
537
538
  $field_instances['node-uw_event-field_event_image'] = array(
    'bundle' => 'uw_event',
    'deleted' => 0,
    'description' => 'The listing page image is used on the event listing pages. You can re-use this image by inserting it into the event description.',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 10,
      ),
m26lebla's avatar
m26lebla committed
539
540
541
542
543
544
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
545
546
547
548
549
550
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
551
552
553
554
555
556
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 9,
      ),
      'rss' => array(
        'label' => 'hidden',
        'module' => 'image',
        'settings' => array(
          'image_link' => 'file',
          'image_style' => 'thumbnail',
        ),
        'type' => 'image',
        'weight' => 0,
      ),
      'teaser' => array(
Eric Bremner's avatar
Eric Bremner committed
574
        'label' => 'hidden',
575
        'module' => 'image',
Eric Bremner's avatar
Eric Bremner committed
576
        'settings' => array(
577
578
          'image_link' => '',
          'image_style' => '',
Eric Bremner's avatar
Eric Bremner committed
579
        ),
580
        'type' => 'image',
Eric Bremner's avatar
Eric Bremner committed
581
        'weight' => 2,
582
583
584
585
586
587
588
589
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_image',
    'label' => 'Listing page image',
    'required' => 0,
    'settings' => array(
      'alt_field' => 1,
590
      'alt_field_required' => 1,
591
      'default_image' => 0,
592
      'entity_translation_sync' => FALSE,
593
594
595
      'exclude_cv' => FALSE,
      'file_directory' => 'uploads/images',
      'file_extensions' => 'png gif jpg jpeg',
596
      'focal_point' => 0,
597
      'image_field_caption' => 0,
598
599
600
601
602
603
      'image_field_caption_wrapper' => array(
        'image_field_caption_default' => array(
          'format' => 'uw_tf_standard',
          'value' => '',
        ),
      ),
604
605
      'max_filesize' => '10 MB',
      'max_resolution' => '3000x3000',
606
      'min_resolution' => '50x50',
607
608
609
610
611
612
613
614
615
616
617
      'title_field' => 0,
      'title_field_required' => 0,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'image',
      'settings' => array(
        'filefield_sources' => array(
          'filefield_sources' => array(
            'attach' => 0,
618
            'clipboard' => 0,
619
620
621
            'imce' => 'imce',
            'reference' => 'reference',
            'remote' => 'remote',
622
            'upload' => 'upload',
623
624
625
626
627
628
          ),
          'source_attach' => array(
            'absolute' => 0,
            'attach_mode' => 'copy',
            'path' => 'file_attach',
          ),
629
630
631
          'source_imce' => array(
            'imce_mode' => 1,
          ),
632
633
          'source_reference' => array(
            'autocomplete' => 1,
634
            'search_all_fields' => 1,
635
636
637
638
639
640
641
642
          ),
        ),
        'insert' => 1,
        'insert_absolute' => 0,
        'insert_class' => '',
        'insert_default' => 'image',
        'insert_styles' => array(
          'auto' => 0,
643
          'icon_link' => 0,
644
          'image' => 'image',
645
          'image_banner-750w' => 0,
646
          'image_body-500px-wide' => 'image_body-500px-wide',
647
648
649
          'image_galleryformatter_slide' => 0,
          'image_galleryformatter_thumb' => 0,
          'image_image_gallery_slide' => 0,
650
651
          'image_large' => 0,
          'image_medium' => 0,
652
          'image_person-profile-list' => 0,
653
654
655
          'image_profile-photo-block' => 0,
          'image_sidebar-220px-wide' => 'image_sidebar-220px-wide',
          'image_thumbnail' => 0,
656
          'image_wide-body-750px-wide' => 0,
657
658
659
660
661
662
663
664
665
666
667
          'link' => 0,
        ),
        'insert_width' => 500,
        'preview_image_style' => 'thumbnail',
        'progress_indicator' => 'throbber',
      ),
      'type' => 'image_image',
      'weight' => 2,
    ),
  );

668
  // Exported field_instance: 'node-uw_event-field_event_location'.
669
670
671
672
673
674
675
  $field_instances['node-uw_event-field_event_location'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
676
        'label' => 'above',
677
678
        'module' => 'leaflet',
        'settings' => array(
679
680
          'address' => array(
            'show' => 1,
681
682
683
684
685
686
687
688
689
690
691
692
            'text' => '<div class="location vcard">
  <div class="adr">
    <span class="fn">[node:field_event_location:name:0]</span>
    <div class="additional">[node:field_event_location:additional:0]</div>
    <div class="address-content">
      <div class="steet-address">[node:field_event_location:street:0]</div>
      <span class="locality">[node:field_event_location:city:0]</span>, <span class="region">[node:field_event_location:province:0]</span>
      <span class="postal-code">[node:field_event_location:postal_code:0]</span>
      <div class="country-name">[node:field_event_location:country_name:0]</div>
    </div>
  </div>
</div>',
693
          ),
694
          'height' => 300,
695
696
697
698
699
700
701
702
703
704
705
706
707
          'icon' => array(
            'html' => '',
            'htmlClass' => 'leaflet_map_icon',
            'iconAnchor' => array(
              'x' => '',
              'y' => '',
            ),
            'iconImageStyle' => '',
            'iconSize' => array(
              'x' => '',
              'y' => '',
            ),
            'iconType' => 'marker',
708
            'iconUrl' => '/profiles/uw_base_profile/libraries/gmap_markers/university.png',
709
            'popupAnchor' => array(
710
711
              'x' => 16,
              'y' => 0,
712
713
714
715
716
717
718
719
720
721
            ),
            'shadowAnchor' => array(
              'x' => '',
              'y' => '',
            ),
            'shadowUrl' => '',
          ),
          'leaflet_map' => 'OSM Mapnik',
          'popup' => array(
            'show' => 1,
722
723
724
725
726
727
728
729
730
731
732
733
            'text' => '<h4>[node:field_event_location:name:0]</h4>
<div class="location vcard">
  <div class="adr">
    <div class="additional">[node:field_event_location:additional:0]</div>
    <div class="address-content">
      <div class="steet-address">[node:field_event_location:street:0]</div>
      <span class="locality">[node:field_event_location:city:0]</span>, <span class="region">[node:field_event_location:province:0]</span>
      <span class="postal-code">[node:field_event_location:postal_code:0]</span>
      <div class="country-name">[node:field_event_location:country_name:0]</div>
    </div>
  </div>
</div>',
734
735
736
          ),
        ),
        'type' => 'location_cck_leaflet',
737
738
        'weight' => 5,
      ),
m26lebla's avatar
m26lebla committed
739
740
741
742
743
744
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
745
746
747
748
749
750
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
751
752
753
754
755
756
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
      'full' => array(
        'label' => 'above',
        'module' => 'location_cck',
        'settings' => array(),
        'type' => 'location_default',
        'weight' => 5,
      ),
      'ical' => array(
        'label' => 'hidden',
        'module' => 'location_cck',
        'settings' => array(),
        'type' => 'location_default',
        'weight' => 2,
      ),
      'rss' => array(
        'label' => 'inline',
        'module' => 'location_cck',
        'settings' => array(),
        'type' => 'location_default',
        'weight' => 5,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
782
        'weight' => 9,
783
784
785
786
787
788
789
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_location',
    'label' => 'Location',
    'required' => 0,
    'settings' => array(
790
      'entity_translation_sync' => FALSE,
791
792
793
794
795
796
      'exclude_cv' => FALSE,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'location_cck',
l26yan's avatar
l26yan committed
797
798
799
      'settings' => array(
        'label_help_description' => '',
      ),
800
801
802
803
804
      'type' => 'location',
      'weight' => 8,
    ),
  );

805
  // Exported field_instance: 'node-uw_event-field_event_map_link'.
806
807
808
809
810
811
812
813
814
815
816
817
818
  $field_instances['node-uw_event-field_event_map_link'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
    'description' => 'Optional: provide a link to a map with the event location (e.g. https://uwaterloo.ca/map/)',
    'display' => array(
      'default' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 6,
      ),
m26lebla's avatar
m26lebla committed
819
820
821
822
823
824
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
825
826
827
828
829
830
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
831
832
833
834
835
836
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
      'full' => array(
        'label' => 'above',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_url',
        'weight' => 3,
      ),
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 7,
      ),
      'rss' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 6,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
861
        'weight' => 8,
862
863
864
865
866
867
868
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_map_link',
    'label' => 'Map',
    'required' => 0,
    'settings' => array(
869
      'absolute_url' => 1,
870
871
      'attributes' => array(
        'class' => '',
872
        'configurable_class' => 0,
873
874
875
876
877
878
879
880
881
        'configurable_title' => 0,
        'rel' => '',
        'target' => 'default',
        'title' => '',
      ),
      'display' => array(
        'url_cutoff' => 80,
      ),
      'enable_tokens' => 1,
882
      'entity_translation_sync' => FALSE,
883
      'rel_remove' => 'default',
884
      'title' => 'none',
885
      'title_allowed_values' => '',
886
      'title_label_use_field_label' => 0,
887
888
889
890
      'title_maxlength' => 128,
      'title_value' => '',
      'url' => 0,
      'user_register_form' => FALSE,
891
      'validate_url' => 1,
892
893
894
895
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'link',
896
897
898
      'settings' => array(
        'label_help_description' => '',
      ),
899
900
901
902
903
      'type' => 'link_field',
      'weight' => 9,
    ),
  );

904
  // Exported field_instance: 'node-uw_event-field_event_moreinfo_link'.
905
906
907
908
  $field_instances['node-uw_event-field_event_moreinfo_link'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
l26yan's avatar
l26yan committed
909
    'description' => 'Optional: provide the name of the event website and a link to a website with more information specific to this event (e.g. https://uwaterloo.ca/&lt;event details web page&gt;).',
910
911
912
913
914
915
916
917
    'display' => array(
      'default' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 3,
      ),
m26lebla's avatar
m26lebla committed
918
919
920
921
922
923
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
924
925
926
927
928
929
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
930
931
932
933
934
935
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
      'full' => array(
        'label' => 'above',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_url',
        'weight' => 2,
      ),
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 6,
      ),
      'rss' => array(
        'label' => 'inline',
        'module' => 'link',
        'settings' => array(),
        'type' => 'link_default',
        'weight' => 4,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
960
        'weight' => 5,
961
962
963
964
965
966
967
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_moreinfo_link',
    'label' => 'Event website',
    'required' => 0,
    'settings' => array(
968
      'absolute_url' => 1,
969
970
      'attributes' => array(
        'class' => '',
971
        'configurable_class' => 0,
972
973
974
975
976
977
978
979
980
        'configurable_title' => 0,
        'rel' => '',
        'target' => 'default',
        'title' => '',
      ),
      'display' => array(
        'url_cutoff' => 80,
      ),
      'enable_tokens' => 1,
981
      'entity_translation_sync' => FALSE,
982
      'rel_remove' => 'default',
983
      'title' => 'optional',
984
      'title_allowed_values' => '',
985
      'title_label_use_field_label' => 0,
986
987
988
989
      'title_maxlength' => 128,
      'title_value' => '',
      'url' => 0,
      'user_register_form' => FALSE,
990
      'validate_url' => 1,
991
992
993
994
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'link',
995
996
997
      'settings' => array(
        'label_help_description' => '',
      ),
998
999
1000
      'type' => 'link_field',
      'weight' => 7,
    ),