You are here

function linkimagefield_field_widget_info in Link Image Field 7

Implements hook_field_widget_info().

File

./linkimagefield.module, line 175
Defines a link image field type.

Code

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