function supersized_field_widget_info in Supersized 8
Same name and namespace in other branches
- 7 supersized.field.inc \supersized_field_widget_info()
Implements hook_field_widget_info().
File
- ./
supersized.field.inc, line 449 - Implement an image field, based on the file module's file field.
Code
function supersized_field_widget_info() {
return array(
'supersized_slide' => array(
'label' => t('Slide'),
'field types' => array(
'supersized',
),
'settings' => array(
'progress_indicator' => 'throbber',
'preview_image_style' => 'supersized-thumbnail',
),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_CUSTOM,
'default value' => FIELD_BEHAVIOR_NONE,
),
),
);
}