You are here

function choices_field_formatter_info in Poll Improved 7

Implements hook_field_formatter_info().

File

modules/choices/choices.module, line 45
Defines simple choices field.

Code

function choices_field_formatter_info() {
  return array(
    'choices_default' => array(
      'label' => t('Default'),
      'field types' => array(
        'choices',
      ),
    ),
    'choices_with_vote_count' => array(
      'label' => t('Choices with vote count'),
      'field types' => array(
        'choices',
      ),
    ),
    'choices_plain' => array(
      'label' => t('Choices plain'),
      'field types' => array(
        'choices',
      ),
    ),
    'choices_submit_default' => array(
      'label' => t('Default'),
      'field types' => array(
        'choices_submit',
      ),
      'settings' => array(
        'label' => 'hidden',
      ),
    ),
  );
}