This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dkan_featured_topics.features.field_instance.inc
131 lines (126 loc) · 3.46 KB
/
dkan_featured_topics.features.field_instance.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?php
/**
* @file
* dkan_featured_topics.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function dkan_featured_topics_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'node-dataset-field_topic'
$field_instances['node-dataset-field_topic'] = array(
'bundle' => 'dataset',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 21,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_topic',
'label' => 'Topics',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(
'apply_chosen' => '',
),
'type' => 'options_select',
'weight' => 4,
),
);
// Exported field_instance: 'taxonomy_term-dkan_topics_term-field_image'
$field_instances['taxonomy_term-dkan_topics_term-field_image'] = array(
'bundle' => 'dkan_topics_term',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 1,
),
),
'entity_type' => 'taxonomy_term',
'field_name' => 'field_image',
'label' => 'Image',
'required' => 0,
'settings' => array(
'alt_field' => 0,
'default_image' => 0,
'file_directory' => '',
'file_extensions' => 'png gif jpg jpeg',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'image',
'settings' => array(
'filefield_sources' => array(
'filefield_sources' => array(
'attach' => 0,
'clipboard' => 0,
'reference' => 0,
'remote' => 0,
'remotefile' => 0,
'upload' => 'upload',
),
'source_attach' => array(
'absolute' => 0,
'attach_mode' => 'move',
'path' => 'file_attach',
),
'source_imce' => array(
'imce_mode' => 0,
),
'source_reference' => array(
'autocomplete' => 0,
),
),
'manualcrop_crop_info' => 1,
'manualcrop_default_crop_area' => 1,
'manualcrop_enable' => 0,
'manualcrop_inline_crop' => 0,
'manualcrop_instant_crop' => 0,
'manualcrop_instant_preview' => 1,
'manualcrop_keyboard' => 1,
'manualcrop_maximize_default_crop_area' => 0,
'manualcrop_require_cropping' => array(),
'manualcrop_styles_list' => array(),
'manualcrop_styles_mode' => 'include',
'manualcrop_thumblist' => 0,
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => 32,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Image');
t('Topic');
return $field_instances;
}