You are here

function advpoll_field_field_info in Advanced Poll 7.2

Same name and namespace in other branches
  1. 7.3 advpoll_field/advpoll_field.module \advpoll_field_field_info()
  2. 7 advpoll_field/advpoll_field.module \advpoll_field_field_info()

Implements hook_field_info().

File

advpoll_field/advpoll_field.module, line 15
/*

Code

function advpoll_field_field_info() {
  return array(
    'advpoll' => array(
      'label' => t('Advanced Poll Choice'),
      'description' => t('A compound field for displaying a choice field and its write-in status.'),
      'default_widget' => 'advpoll_write_in',
      'default_formatter' => 'advpoll_choice',
    ),
  );
}