private static property FeedsMapperTestCase::$field_widgets in Feeds 7.2
Same name and namespace in other branches
- 6 tests/feeds_mapper.test \FeedsMapperTestCase::field_widgets
- 7 tests/feeds_mapper_test.inc \FeedsMapperTestCase::field_widgets
A lookup map to select the widget for each field type.
File
- tests/
feeds_mapper.test, line 16 - Contains FeedsMapperTestCase.
Class
- FeedsMapperTestCase
- Helper class with auxiliary functions for feeds mapper module tests.
Code
private static $field_widgets = array(
'date' => 'date_text',
'datestamp' => 'date_text',
'datetime' => 'date_text',
'number_decimal' => 'number',
'email' => 'email_textfield',
'emimage' => 'emimage_textfields',
'emaudio' => 'emaudio_textfields',
'file' => 'file_generic',
'image' => 'image_image',
'link_field' => 'link_field',
'list_boolean' => 'options_onoff',
'list_float' => 'options_select',
'list_integer' => 'options_select',
'list_text' => 'options_select',
'number_float' => 'number',
'number_integer' => 'number',
'nodereference' => 'nodereference_select',
'text' => 'text_textfield',
'text_long' => 'text_textarea',
'text_with_summary' => 'text_textarea_with_summary',
'userreference' => 'userreference_select',
);