You are here

function advpoll_votingapi_views_formatters in Advanced Poll 6.2

Same name and namespace in other branches
  1. 6.3 modes/binary.inc \advpoll_votingapi_views_formatters()
  2. 6 modes/binary.inc \advpoll_votingapi_views_formatters()

File

modes/binary.inc, line 352
Handle binary (true/false) votes.

Code

function advpoll_votingapi_views_formatters($field = array()) {
  if ($field->field == 'value') {
    return array(
      'advpoll_binary_views_tags_formatter' => t('Advpoll Binary: choice label'),
    );
  }
}