You are here

function cck_select_other_widget_info in CCK Select Other 6

Implementation of hook_widget_info().

File

./cck_select_other.module, line 12
Implements a select list widget that lets a user provide an alternate option.

Code

function cck_select_other_widget_info() {
  return array(
    'cck_select_other' => array(
      'label' => t('Select other list'),
      'field types' => array(
        'text',
        'number_integer',
        'number_decimal',
        'number_float',
      ),
      'multiple values' => CONTENT_HANDLE_MODULE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}