function image_field_widget_info
image_field_widget_info()
Implements hook_field_widget_info().
File
- modules/image/image.field.inc, line 284
- Implement an image field, based on the file module's file field.
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, ), ), ); }
© 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!image!image.field.inc/function/image_field_widget_info/7.x