You are here

function votingapi_get_formatters in Voting API 5

Same name and namespace in other branches
  1. 6 votingapi_views.inc \votingapi_get_formatters()
1 call to votingapi_get_formatters()
votingapi_views_tables in ./votingapi_views.inc

File

./votingapi_views.inc, line 270

Code

function votingapi_get_formatters($details = array()) {
  $formatters = array(
    'votingapi_views_formatter_raw' => t('Raw value'),
    'votingapi_views_formatter_cleaned' => t('Cleaned version'),
  );
  $formatters = array_merge($formatters, module_invoke_all('votingapi_views_formatters', $details));
  return $formatters;
}