You are here

function rate_votingapi_views_formatters in Rate 7

Same name and namespace in other branches
  1. 6.2 rate.module \rate_votingapi_views_formatters()

Implements hook_votingapi_views_formatters().

File

./rate.module, line 990
Rate module

Code

function rate_votingapi_views_formatters($details = array()) {
  if ($details->field == 'value') {
    return array(
      'rate_views_widget_disabled' => t('Rate widget (display only)'),
      'rate_views_widget_compact_disabled' => t('Rate widget (display only, compact)'),
      'rate_views_widget_compact' => t('Rate widget (compact)'),
      'rate_views_widget' => t('Rate widget'),
    );
  }
}