| Commit | Line | Data |
|---|---|---|
| 0129fc85 FG |
1 | $content['type'] = array ( |
| 2 | 'name' => 'Dataset', | |
| 3 | 'type' => 'dataset', | |
| 4 | 'description' => 'Creation of a new dataset for this conStruct node', | |
| 5 | 'title_label' => 'Title', | |
| 6 | 'body_label' => 'Body', | |
| 7 | 'min_word_count' => '0', | |
| 8 | 'help' => '', | |
| 9 | 'node_options' => | |
| 10 | array ( | |
| 11 | 'status' => true, | |
| 12 | 'promote' => true, | |
| 13 | 'sticky' => false, | |
| 14 | 'revision' => false, | |
| 15 | ), | |
| 16 | 'upload' => 1, | |
| 17 | 'old_type' => 'dataset', | |
| 18 | 'orig_type' => '', | |
| 19 | 'module' => 'node', | |
| 20 | 'custom' => '1', | |
| 21 | 'modified' => '1', | |
| 22 | 'locked' => '0', | |
| 23 | 'og_content_type_usage' => 'group', | |
| 24 | 'og_max_groups' => '', | |
| 25 | 'comment' => '2', | |
| 26 | 'comment_default_mode' => '4', | |
| 27 | 'comment_default_order' => '1', | |
| 28 | 'comment_default_per_page' => '50', | |
| 29 | 'comment_controls' => '3', | |
| 30 | 'comment_anonymous' => 0, | |
| 31 | 'comment_subject_field' => '1', | |
| 32 | 'comment_preview' => '1', | |
| 33 | 'comment_form_location' => '0', | |
| 34 | ); | |
| 35 | $content['fields'] = array ( | |
| 36 | 0 => | |
| 37 | array ( | |
| 38 | 'label' => 'WSF address', | |
| 39 | 'field_name' => 'field_wsf', | |
| 40 | 'type' => 'text', | |
| 8267a408 | 41 | 'widget_type' => 'optionwidgets_select', |
| 0129fc85 FG |
42 | 'change' => 'Change basic information', |
| 43 | 'weight' => '6', | |
| 8267a408 | 44 | 'description' => 'IP address/Domain name of the web services framework (WSF) where to create that new Dataset.', |
| 0129fc85 FG |
45 | 'default_value' => |
| 46 | array ( | |
| 47 | 0 => | |
| 48 | array ( | |
| 8267a408 | 49 | 'value' => '', |
| 0129fc85 FG |
50 | ), |
| 51 | ), | |
| 52 | 'default_value_php' => '', | |
| 53 | 'default_value_widget' => NULL, | |
| 54 | 'group' => false, | |
| 55 | 'required' => 1, | |
| 56 | 'multiple' => '0', | |
| 57 | 'text_processing' => '0', | |
| 58 | 'max_length' => '2024', | |
| 59 | 'allowed_values' => '', | |
| 60 | 'allowed_values_php' => '', | |
| 61 | 'op' => 'Save field settings', | |
| 62 | 'module' => 'text', | |
| 8267a408 | 63 | 'widget_module' => 'optionwidgets', |
| 0129fc85 FG |
64 | 'columns' => |
| 65 | array ( | |
| 66 | 'value' => | |
| 67 | array ( | |
| 68 | 'type' => 'text', | |
| 69 | 'size' => 'big', | |
| 70 | 'not null' => false, | |
| 71 | 'sortable' => true, | |
| 72 | 'views' => true, | |
| 73 | ), | |
| 74 | ), | |
| 75 | 'display_settings' => | |
| 76 | array ( | |
| 77 | 'label' => | |
| 78 | array ( | |
| 79 | 'format' => 'above', | |
| 80 | 'exclude' => 0, | |
| 81 | ), | |
| 82 | 'teaser' => | |
| 83 | array ( | |
| 84 | 'format' => 'default', | |
| 85 | 'exclude' => 0, | |
| 86 | ), | |
| 87 | 'full' => | |
| 88 | array ( | |
| 89 | 'format' => 'default', | |
| 90 | 'exclude' => 0, | |
| 91 | ), | |
| 92 | 4 => | |
| 93 | array ( | |
| 94 | 'format' => 'default', | |
| 95 | 'exclude' => 0, | |
| 96 | ), | |
| 97 | 2 => | |
| 98 | array ( | |
| 99 | 'format' => 'default', | |
| 100 | 'exclude' => 0, | |
| 101 | ), | |
| 102 | 3 => | |
| 103 | array ( | |
| 104 | 'format' => 'default', | |
| 105 | 'exclude' => 0, | |
| 106 | ), | |
| 107 | 'token' => | |
| 108 | array ( | |
| 109 | 'format' => 'default', | |
| 110 | 'exclude' => 0, | |
| 111 | ), | |
| 112 | ), | |
| 113 | ), | |
| 114 | 1 => | |
| 115 | array ( | |
| 116 | 'label' => 'Custom Dataset URI', | |
| 117 | 'field_name' => 'field_custom_dataset_uri', | |
| 118 | 'type' => 'text', | |
| 119 | 'widget_type' => 'text_textfield', | |
| 120 | 'change' => 'Change basic information', | |
| 121 | 'weight' => '7', | |
| 122 | 'rows' => 5, | |
| 123 | 'size' => '60', | |
| 64dfad90 | 124 | 'description' => 'You can specify a custom dataset URI for the dataset. If you want to make these URI directly resolvable on this Drupal instance, you have to define the URI such that the root directory is <b>/datasets/</b>, for example: <b>http://mydomain.com/datasets/some/more/uri/paths/</b> Only one dataset on the conStruct node can have this custom dataset URI. If an existing dataset URI is defined, this field will be ignored. <b>This field can\'t be updated</b>', |
| 0129fc85 FG |
125 | 'default_value' => |
| 126 | array ( | |
| 127 | 0 => | |
| 128 | array ( | |
| 129 | 'value' => '', | |
| 130 | '_error_element' => 'default_value_widget][field_custom_dataset_uri][0][value', | |
| 131 | ), | |
| 132 | ), | |
| 133 | 'default_value_php' => '', | |
| 134 | 'default_value_widget' => | |
| 135 | array ( | |
| 136 | 'field_custom_dataset_uri' => | |
| 137 | array ( | |
| 138 | 0 => | |
| 139 | array ( | |
| 140 | 'value' => '', | |
| 141 | '_error_element' => 'default_value_widget][field_custom_dataset_uri][0][value', | |
| 142 | ), | |
| 143 | ), | |
| 144 | ), | |
| 145 | 'group' => false, | |
| 146 | 'required' => 0, | |
| 147 | 'multiple' => '0', | |
| 148 | 'text_processing' => '0', | |
| 149 | 'max_length' => '2024', | |
| 150 | 'allowed_values' => '', | |
| 151 | 'allowed_values_php' => '', | |
| 152 | 'op' => 'Save field settings', | |
| 153 | 'module' => 'text', | |
| 154 | 'widget_module' => 'text', | |
| 155 | 'columns' => | |
| 156 | array ( | |
| 157 | 'value' => | |
| 158 | array ( | |
| 159 | 'type' => 'text', | |
| 160 | 'size' => 'big', | |
| 161 | 'not null' => false, | |
| 162 | 'sortable' => true, | |
| 163 | 'views' => true, | |
| 164 | ), | |
| 165 | ), | |
| 166 | 'display_settings' => | |
| 167 | array ( | |
| 168 | 'label' => | |
| 169 | array ( | |
| 170 | 'format' => 'above', | |
| 171 | 'exclude' => 0, | |
| 172 | ), | |
| 173 | 'teaser' => | |
| 174 | array ( | |
| 175 | 'format' => 'default', | |
| 176 | 'exclude' => 0, | |
| 177 | ), | |
| 178 | 'full' => | |
| 179 | array ( | |
| 180 | 'format' => 'default', | |
| 181 | 'exclude' => 0, | |
| 182 | ), | |
| 183 | 4 => | |
| 184 | array ( | |
| 185 | 'format' => 'default', | |
| 186 | 'exclude' => 0, | |
| 187 | ), | |
| 188 | 'token' => | |
| 189 | array ( | |
| 190 | 'format' => 'default', | |
| 191 | 'exclude' => 0, | |
| 192 | ), | |
| 193 | ), | |
| 194 | ), | |
| 195 | 2 => | |
| 196 | array ( | |
| 197 | 'label' => 'Existing Dataset URI', | |
| 198 | 'field_name' => 'field_existing_dataset_uri', | |
| 199 | 'type' => 'text', | |
| 200 | 'widget_type' => 'text_textfield', | |
| 201 | 'change' => 'Change basic information', | |
| 202 | 'weight' => '8', | |
| 203 | 'rows' => 5, | |
| 204 | 'size' => '60', | |
| 8267a408 | 205 | 'description' => 'Put the URI of the remote dataset if it is already created in the target structWSF instance. The structWSF address above should be the address of a remote structWSF.', |
| 0129fc85 FG |
206 | 'default_value' => |
| 207 | array ( | |
| 208 | 0 => | |
| 209 | array ( | |
| 210 | 'value' => '', | |
| 211 | '_error_element' => 'default_value_widget][field_existing_dataset_uri][0][value', | |
| 212 | ), | |
| 213 | ), | |
| 214 | 'default_value_php' => '', | |
| 215 | 'default_value_widget' => | |
| 216 | array ( | |
| 217 | 'field_existing_dataset_uri' => | |
| 218 | array ( | |
| 219 | 0 => | |
| 220 | array ( | |
| 221 | 'value' => '', | |
| 222 | '_error_element' => 'default_value_widget][field_existing_dataset_uri][0][value', | |
| 223 | ), | |
| 224 | ), | |
| 225 | ), | |
| 226 | 'group' => false, | |
| 227 | 'required' => 0, | |
| 228 | 'multiple' => '0', | |
| 229 | 'text_processing' => '0', | |
| 230 | 'max_length' => '2024', | |
| 231 | 'allowed_values' => '', | |
| 232 | 'allowed_values_php' => '', | |
| 233 | 'op' => 'Save field settings', | |
| 234 | 'module' => 'text', | |
| 235 | 'widget_module' => 'text', | |
| 236 | 'columns' => | |
| 237 | array ( | |
| 238 | 'value' => | |
| 239 | array ( | |
| 240 | 'type' => 'text', | |
| 241 | 'size' => 'big', | |
| 242 | 'not null' => false, | |
| 243 | 'sortable' => true, | |
| 244 | 'views' => true, | |
| 245 | ), | |
| 246 | ), | |
| 247 | 'display_settings' => | |
| 248 | array ( | |
| 249 | 'label' => | |
| 250 | array ( | |
| 251 | 'format' => 'above', | |
| 252 | 'exclude' => 0, | |
| 253 | ), | |
| 254 | 'teaser' => | |
| 255 | array ( | |
| 256 | 'format' => 'default', | |
| 257 | 'exclude' => 0, | |
| 258 | ), | |
| 259 | 'full' => | |
| 260 | array ( | |
| 261 | 'format' => 'default', | |
| 262 | 'exclude' => 0, | |
| 263 | ), | |
| 264 | 4 => | |
| 265 | array ( | |
| 266 | 'format' => 'default', | |
| 267 | 'exclude' => 0, | |
| 268 | ), | |
| 269 | 2 => | |
| 270 | array ( | |
| 271 | 'format' => 'default', | |
| 272 | 'exclude' => 0, | |
| 273 | ), | |
| 274 | 3 => | |
| 275 | array ( | |
| 276 | 'format' => 'default', | |
| 277 | 'exclude' => 0, | |
| 278 | ), | |
| 279 | 'token' => | |
| 280 | array ( | |
| 281 | 'format' => 'default', | |
| 282 | 'exclude' => 0, | |
| 283 | ), | |
| 284 | ), | |
| 285 | ), | |
| 286 | ); | |
| 287 | $content['extra'] = array ( | |
| 288 | 'title' => '4', | |
| 289 | 'body_field' => '14', | |
| 290 | 'revision_information' => '15', | |
| 291 | 'author' => '16', | |
| 292 | 'options' => '17', | |
| 293 | 'comment_settings' => '18', | |
| 294 | 'menu' => '13', | |
| 295 | 'path' => '20', | |
| 296 | 'attachments' => '19', | |
| 297 | 'og_description' => '5', | |
| 298 | 'og_selective' => '10', | |
| 299 | 'og_register' => '12', | |
| 300 | 'og_directory' => '9', | |
| 301 | 'og_private' => '11', | |
| 302 | ); |