You are here

function supersized_field_widget_info in Supersized 7

Same name and namespace in other branches
  1. 8 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,
      ),
    ),
  );
}