You are here

function iss_field_widget_info in Image Style Selector 7

Implements hook_field_widget_info().

File

./iss.module, line 130
Image Style Selector field.

Code

function iss_field_widget_info() {
  return array(
    'iss_widget_radios' => array(
      'label' => t('Radio buttons'),
      'field types' => array(
        'iss',
      ),
      'behaviors' => array(
        // @todo what is the desired functionality when multiple values are
        // allowed.
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
    'iss_widget_select' => array(
      'label' => t('Select list'),
      'field types' => array(
        'iss',
      ),
      'behaviors' => array(
        // @todo what is the desired functionality when multiple values are
        // allowed.
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
    ),
  );
}