You are here

function itoggle_field_widget_info in iToggle 7

Implements hook_field_widget_info().

File

modules/field/itoggle_field.module, line 12
iToggle Field module.

Code

function itoggle_field_widget_info() {
  return array(
    'itoggle_field_widget' => array(
      'label' => t('iToggle Widget'),
      'field types' => array(
        'list_boolean',
      ),
      'settings' => array(
        'display_label' => 1,
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
      ),
    ),
  );
}