function image_field_widget_info

Implements hook_field_widget_info().

File

modules/image/image.field.inc, line 288

Code

function image_field_widget_info() {
    return array(
        'image_image' => array(
            'label' => t('Image'),
            'field types' => array(
                'image',
            ),
            'settings' => array(
                'progress_indicator' => 'throbber',
                'preview_image_style' => 'thumbnail',
            ),
            'behaviors' => array(
                'multiple values' => FIELD_BEHAVIOR_CUSTOM,
                'default value' => FIELD_BEHAVIOR_NONE,
            ),
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.