On this page
function file_field_widget_info
file_field_widget_info()
Implements hook_field_widget_info().
File
- modules/file/file.field.inc, line 421
- Field module functionality for the File module.
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,
),
),
);
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!file!file.field.inc/function/file_field_widget_info/7.x