function file_field_widget_info

Implements hook_field_widget_info().

File

modules/file/file.field.inc, line 421

Code

function file_field_widget_info() {
    return array(
        'file_generic' => array(
            'label' => t('File'),
            'field types' => array(
                'file',
            ),
            'settings' => array(
                'progress_indicator' => 'throbber',
            ),
            '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.