4 * behat_test.features.field_instance.inc
8 * Implements hook_field_default_field_instances().
10 function behat_test_field_default_field_instances() {
11 $field_instances = array();
13 // Exported field_instance: 'node-post-body'
14 $field_instances['node-post-body'] = array(
16 'default_value' => NULL,
23 'settings' => array(),
24 'type' => 'text_default',
33 'type' => 'text_summary_or_trimmed',
37 'entity_type' => 'node',
38 'field_name' => 'body',
42 'display_summary' => TRUE,
43 'text_processing' => 1,
44 'user_register_form' => FALSE,
52 'type' => 'text_textarea_with_summary',
57 // Exported field_instance: 'node-post-field_post_address'
58 $field_instances['node-post-field_post_address'] = array(
60 'default_value' => NULL,
66 'module' => 'addressfield',
68 'format_handlers' => array(
71 'use_widget_handlers' => 1,
73 'type' => 'addressfield_default',
78 'settings' => array(),
83 'entity_type' => 'node',
84 'field_name' => 'field_post_address',
88 'user_register_form' => FALSE,
92 'module' => 'addressfield',
94 'available_countries' => array(),
95 'default_country' => 'site_default',
96 'format_handlers' => array(
97 'address' => 'address',
98 'address-hide-postal-code' => 0,
99 'address-hide-street' => 0,
100 'address-hide-country' => 0,
104 'address-optional' => 0,
107 'type' => 'addressfield_standard',
112 // Exported field_instance: 'node-post-field_post_date'
113 $field_instances['node-post-field_post_date'] = array(
122 'format_type' => 'long',
124 'multiple_from' => '',
125 'multiple_number' => '',
128 'type' => 'date_default',
133 'settings' => array(),
138 'entity_type' => 'node',
139 'field_name' => 'field_post_date',
140 'label' => 'Single date',
143 'default_value' => 'now',
144 'default_value2' => 'same',
145 'default_value_code' => '',
146 'default_value_code2' => '',
147 'user_register_form' => FALSE,
154 'input_format' => 'm/d/Y - H:i:s',
155 'input_format_custom' => '',
156 'label_position' => 'above',
157 'text_parts' => array(),
158 'year_range' => '-3:+3',
160 'type' => 'date_select',
165 // Exported field_instance: 'node-post-field_post_dates'
166 $field_instances['node-post-field_post_dates'] = array(
175 'format_type' => 'long',
177 'multiple_from' => '',
178 'multiple_number' => '',
181 'type' => 'date_default',
186 'settings' => array(),
191 'entity_type' => 'node',
192 'field_name' => 'field_post_dates',
193 'label' => 'Start/ending dates',
196 'default_value' => 'now',
197 'default_value2' => 'same',
198 'default_value_code' => '',
199 'default_value_code2' => '',
200 'user_register_form' => FALSE,
207 'input_format' => 'm/d/Y - H:i:s',
208 'input_format_custom' => '',
209 'label_position' => 'above',
210 'text_parts' => array(),
211 'year_range' => '-3:+3',
213 'type' => 'date_select',
218 // Exported field_instance: 'node-post-field_post_links'
219 $field_instances['node-post-field_post_links'] = array(
221 'default_value' => NULL,
228 'settings' => array(),
229 'type' => 'link_default',
234 'settings' => array(),
239 'entity_type' => 'node',
240 'field_name' => 'field_post_links',
245 'attributes' => array(
247 'configurable_class' => 0,
248 'configurable_title' => 0,
250 'target' => 'default',
256 'enable_tokens' => 1,
257 'rel_remove' => 'default',
258 'title' => 'optional',
259 'title_label_use_field_label' => 0,
260 'title_maxlength' => 128,
263 'user_register_form' => FALSE,
269 'settings' => array(),
270 'type' => 'link_field',
275 // Exported field_instance: 'node-post-field_post_reference'
276 $field_instances['node-post-field_post_reference'] = array(
278 'default_value' => NULL,
284 'module' => 'entityreference',
288 'type' => 'entityreference_label',
293 'settings' => array(),
298 'entity_type' => 'node',
299 'field_name' => 'field_post_reference',
300 'label' => 'Reference',
303 'user_register_form' => FALSE,
307 'module' => 'options',
308 'settings' => array(),
309 'type' => 'options_buttons',
314 // Exported field_instance: 'node-post-field_post_select'
315 $field_instances['node-post-field_post_select'] = array(
317 'default_value' => NULL,
324 'settings' => array(),
325 'type' => 'list_default',
330 'settings' => array(),
335 'entity_type' => 'node',
336 'field_name' => 'field_post_select',
337 'label' => 'Select list',
340 'user_register_form' => FALSE,
344 'module' => 'options',
345 'settings' => array(),
346 'type' => 'options_buttons',
351 // Exported field_instance: 'user-user-field_post_address'
352 $field_instances['user-user-field_post_address'] = array(
354 'default_value' => NULL,
360 'module' => 'addressfield',
362 'format_handlers' => array(
365 'use_widget_handlers' => 1,
367 'type' => 'addressfield_default',
371 'entity_type' => 'user',
372 'field_name' => 'field_post_address',
373 'label' => 'Address',
376 'user_register_form' => 0,
380 'module' => 'addressfield',
382 'available_countries' => array(),
383 'default_country' => 'site_default',
384 'format_handlers' => array(
385 'address' => 'address',
386 'address-hide-postal-code' => 0,
387 'address-hide-street' => 0,
388 'address-hide-country' => 0,
392 'address-optional' => 0,
395 'type' => 'addressfield_standard',
400 // Exported field_instance: 'user-user-field_post_reference'
401 $field_instances['user-user-field_post_reference'] = array(
403 'default_value' => NULL,
409 'module' => 'entityreference',
413 'type' => 'entityreference_label',
417 'entity_type' => 'user',
418 'field_name' => 'field_post_reference',
419 'label' => 'Reference',
422 'user_register_form' => 0,
426 'module' => 'options',
427 'settings' => array(),
428 'type' => 'options_buttons',
433 // Exported field_instance: 'user-user-field_tags'
434 $field_instances['user-user-field_tags'] = array(
436 'default_value' => NULL,
442 'module' => 'taxonomy',
443 'settings' => array(),
444 'type' => 'taxonomy_term_reference_link',
448 'entity_type' => 'user',
449 'field_name' => 'field_tags',
453 'user_register_form' => 0,
457 'module' => 'taxonomy',
459 'autocomplete_path' => 'taxonomy/autocomplete',
462 'type' => 'taxonomy_autocomplete',
468 // Included for use with string extractors like potx.
475 t('Start/ending dates');
478 return $field_instances;