You are here

function imagefield_crop_field_widget_info in Imagefield Crop 7.3

Same name and namespace in other branches
  1. 7 imagefield_crop.module \imagefield_crop_field_widget_info()
  2. 7.2 imagefield_crop.module \imagefield_crop_field_widget_info()

Implements hook_field_widget_info().

File

./imagefield_crop.module, line 451

Code

function imagefield_crop_field_widget_info() {
  return array(
    'imagefield_crop_widget' => array(
      'label' => t('Image with cropping'),
      'field types' => array(
        'imagefield_crop',
      ),
      'settings' => array(
        'progress_indicator' => 'throbber',
        'presets' => '',
        'preview_image_style' => 'thumbnail',
        'hide_preview' => FALSE,
        'preview' => array(
          'width' => 500,
          'height' => 500,
        ),
        'cropbox' => array(
          'width' => 500,
          'height' => 500,
        ),
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}