uw_ct_event.features.field_instance.inc 39.9 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
            'text' => '<div property="schema:location" typeof="schema:Place">
  <span property="schema:name">[node:field_event_location:name:0]</span>
  <div property="schema:address" typeof="schema:PostalAddress">
    <span property="schema:streetAddress">[node:field_event_location:additional:0]<br>[node:field_event_location:street:0]</span><br>
    <span property="schema:addressLocality">[node:field_event_location:city:0]</span>,
    <span property="schema:addressRegion">[node:field_event_location:province:0]</span>
    <span property="schema:postalCode">[node:field_event_location:postal_code:0]</span><br>
    <span property="schema:addressCountry">[node:field_event_location:country_name:0]</span><br>
  </div>
690
</div>',
691
          ),
692
          'height' => 300,
693 694 695 696 697 698 699 700 701 702 703 704 705
          'icon' => array(
            'html' => '',
            'htmlClass' => 'leaflet_map_icon',
            'iconAnchor' => array(
              'x' => '',
              'y' => '',
            ),
            'iconImageStyle' => '',
            'iconSize' => array(
              'x' => '',
              'y' => '',
            ),
            'iconType' => 'marker',
706
            'iconUrl' => '/profiles/uw_base_profile/libraries/gmap_markers/university.png',
707
            'popupAnchor' => array(
708 709
              'x' => 16,
              'y' => 0,
710 711 712 713 714 715 716 717 718 719
            ),
            'shadowAnchor' => array(
              'x' => '',
              'y' => '',
            ),
            'shadowUrl' => '',
          ),
          'leaflet_map' => 'OSM Mapnik',
          'popup' => array(
            'show' => 1,
720 721 722 723 724 725 726 727 728 729 730
            '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>
731
</div>',
732 733 734
          ),
        ),
        'type' => 'location_cck_leaflet',
735 736
        'weight' => 5,
      ),
m26lebla's avatar
m26lebla committed
737 738 739 740 741 742
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
743 744 745 746 747 748
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
749 750 751 752 753 754
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779
      '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
780
        'weight' => 9,
781 782 783 784 785 786 787
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_location',
    'label' => 'Location',
    'required' => 0,
    'settings' => array(
788
      'entity_translation_sync' => FALSE,
789 790 791 792 793 794
      'exclude_cv' => FALSE,
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'location_cck',
l26yan's avatar
l26yan committed
795 796 797
      'settings' => array(
        'label_help_description' => '',
      ),
798 799 800 801 802
      'type' => 'location',
      'weight' => 8,
    ),
  );

803
  // Exported field_instance: 'node-uw_event-field_event_map_link'.
804 805 806 807 808 809 810 811 812 813 814 815 816
  $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
817 818 819 820 821 822
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
823 824 825 826 827 828
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
829 830 831 832 833 834
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858
      '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
859
        'weight' => 8,
860 861 862 863 864 865 866
      ),
    ),
    'entity_type' => 'node',
    'field_name' => 'field_event_map_link',
    'label' => 'Map',
    'required' => 0,
    'settings' => array(
867
      'absolute_url' => 1,
868 869
      'attributes' => array(
        'class' => '',
870
        'configurable_class' => 0,
871 872 873 874 875 876 877 878 879
        'configurable_title' => 0,
        'rel' => '',
        'target' => 'default',
        'title' => '',
      ),
      'display' => array(
        'url_cutoff' => 80,
      ),
      'enable_tokens' => 1,
880
      'entity_translation_sync' => FALSE,
881
      'rel_remove' => 'default',
882
      'title' => 'none',
883
      'title_allowed_values' => '',
884
      'title_label_use_field_label' => 0,
885 886 887 888
      'title_maxlength' => 128,
      'title_value' => '',
      'url' => 0,
      'user_register_form' => FALSE,
889
      'validate_url' => 1,
890 891 892 893
    ),
    'widget' => array(
      'active' => 0,
      'module' => 'link',
894 895 896
      'settings' => array(
        'label_help_description' => '',
      ),
897 898 899 900 901
      'type' => 'link_field',
      'weight' => 9,
    ),
  );

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

1001
  // Exported field_instance: 'node-uw_event-field_file'.
1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
  $field_instances['node-uw_event-field_file'] = array(
    'bundle' => 'uw_event',
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 9,
      ),
m26lebla's avatar
m26lebla committed
1013 1014 1015 1016 1017 1018
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1019 1020 1021 1022 1023 1024
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1025 1026 1027 1028 1029 1030
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 3,
      ),
      'rss' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 9,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
1047
        'weight' => 6,
1048 1049 1050 1051 1052 1053 1054 1055 1056
      ),
    ),
    'entity_type' => 'node',
    'exclude_cv' => 0,
    'field_name' => 'field_file',
    'label' => 'Choose a file',
    'required' => 0,
    'settings' => array(
      'description_field' => 1,
1057
      'entity_translation_sync' => FALSE,
1058 1059
      'exclude_cv' => FALSE,
      'file_directory' => 'uploads/files',
1060
      'file_extensions' => 'bib csv doc docx gz key m mw mp3 rtf pdf pot potx pps ppt pptx psd r tar tex txt wav xls xlsx zip',
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074
      'max_filesize' => '25 MB',
      'user_register_form' => FALSE,
    ),
    'widget' => array(
      'active' => 1,
      'module' => 'file',
      'settings' => array(
        'filefield_sources' => array(
          'filefield_sources' => array(
            'attach' => 0,
            'clipboard' => 0,
            'imce' => 'imce',
            'reference' => 'reference',
            'remote' => 'remote',
1075
            'upload' => 'upload',
1076 1077 1078 1079 1080 1081 1082
          ),
          'source_attach' => array(
            'absolute' => 0,
            'attach_mode' => 'copy',
            'path' => 'file_attach',
          ),
          'source_imce' => array(
1083
            'imce_mode' => 1,
1084 1085 1086
          ),
          'source_reference' => array(
            'autocomplete' => 1,
1087
            'search_all_fields' => 1,
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
          ),
        ),
        'insert' => 1,
        'insert_absolute' => 0,
        'insert_class' => '',
        'insert_default' => 'auto',
        'insert_styles' => array(
          'auto' => 0,
          'icon_link' => 0,
          'image' => 0,
          'image_banner-750w' => 0,
          'image_body-500px-wide' => 0,
          'image_galleryformatter_slide' => 0,
          'image_galleryformatter_thumb' => 0,
          'image_image_gallery_slide' => 0,
          'image_large' => 0,
          'image_medium' => 0,
          'image_person-profile-list' => 0,
          'image_profile-photo-block' => 0,
          'image_sidebar-220px-wide' => 0,
          'image_thumbnail' => 0,
          'image_wide-body-750px-wide' => 0,
          'link' => 0,
        ),
        'insert_width' => '',
        'progress_indicator' => 'throbber',
      ),
      'type' => 'file_generic',
      'weight' => 14,
    ),
  );

1120
  // Exported field_instance: 'node-uw_event-field_image'.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
  $field_instances['node-uw_event-field_image'] = array(
    'bundle' => 'uw_event',
    'deleted' => 0,
    'description' => '',
    'display' => array(
      'default' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 8,
      ),
m26lebla's avatar
m26lebla committed
1132 1133 1134 1135 1136 1137
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1138 1139 1140 1141 1142 1143
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1144 1145 1146 1147 1148 1149
      'forward' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
      'ical' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 4,
      ),
      'rss' => array(
        'label' => 'hidden',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 8,
      ),
      'teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
Eric Bremner's avatar
Eric Bremner committed
1166
        'weight' => 7,
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177
      ),
    ),
    'entity_type' => 'node',
    'exclude_cv' => 0,
    'field_name' => 'field_image',
    'label' => 'Choose an image',
    'required' => 0,
    'settings' => array(
      'alt_field' => 0,
      'alt_field_required' => 0,
      'default_image' => 0,
1178
      'entity_translation_sync' => FALSE,
1179 1180 1181
      'exclude_cv' => FALSE,
      'file_directory' => 'uploads/images',
      'file_extensions' => 'png gif jpg jpeg',
1182
      'focal_point' => 0,
1183
      'image_field_caption' => 0,
1184 1185 1186 1187 1188 1189
      'image_field_caption_wrapper' => array(
        'image_field_caption_default' => array(
          'format' => 'uw_tf_standard',
          'value' => '',
        ),
      ),
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
      'max_filesize' => '10 MB',
      'max_resolution' => '3000x3000',
      'min_resolution' => '10x10',
      '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,
1204
            'clipboard' => 0,
1205 1206 1207
            'imce' => 'imce',
            'reference' => 'reference',
            'remote' => 'remote',
1208
            'upload' => 'upload',
1209 1210 1211 1212 1213 1214 1215
          ),
          'source_attach' => array(
            'absolute' => 0,
            'attach_mode' => 'copy',
            'path' => 'file_attach',
          ),
          'source_imce' => array(
1216
            'imce_mode' => 1,
1217 1218 1219
          ),
          'source_reference' => array(
            'autocomplete' => 1,
1220
            'search_all_fields' => 1,
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241
          ),
        ),
        'insert' => 1,
        'insert_absolute' => 0,
        'insert_class' => '',
        'insert_default' => 'image',
        'insert_styles' => array(
          'auto' => 0,
          'icon_link' => 0,
          'image' => 'image',
          'image_banner-750w' => 0,
          'image_body-500px-wide' => 'image_body-500px-wide',
          'image_galleryformatter_slide' => 0,
          'image_galleryformatter_thumb' => 0,
          'image_image_gallery_slide' => 0,
          'image_large' => 0,
          'image_medium' => 0,
          'image_person-profile-list' => 0,
          'image_profile-photo-block' => 0,
          'image_sidebar-220px-wide' => 'image_sidebar-220px-wide',
          'image_thumbnail' => 0,
vramchar's avatar
vramchar committed
1242
          'image_wide-body-750px-wide' => 'image_wide-body-750px-wide',
1243 1244
          'link' => 0,
        ),
1245
        'insert_width' => '',
1246 1247 1248 1249 1250 1251 1252 1253
        'preview_image_style' => 'thumbnail',
        'progress_indicator' => 'throbber',
      ),
      'type' => 'image_image',
      'weight' => 9,
    ),
  );

1254
  // Exported field_instance: 'node-uw_event-field_uw_event_tag'.
1255 1256 1257 1258
  $field_instances['node-uw_event-field_uw_event_tag'] = array(
    'bundle' => 'uw_event',
    'default_value' => NULL,
    'deleted' => 0,
1259
    'description' => 'Additional terms to help describe an event. You may use multiple terms, but they need to be comma separated.',
1260 1261 1262 1263 1264 1265 1266 1267
    'display' => array(
      'default' => array(
        'label' => 'inline',
        'module' => 'taxonomy',
        'settings' => array(),
        'type' => 'taxonomy_term_reference_link',
        'weight' => 9,
      ),
m26lebla's avatar
m26lebla committed
1268 1269 1270 1271 1272 1273
      'embedded' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286
      'entity_teaser' => array(
        'label' => 'above',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
      'ical' => array(
        'label' => 'inline',
        'settings' => array(),
        'type' => 'hidden',
        'weight' => 0,
      ),
      'teaser' => array(
Eric Bremner's avatar
Eric Bremner committed
1287