function flag_field_handler_count in Flag 5
Handler that prints the 'count' field in a zero/singular/plural phrase, localizable.
File
- includes/
flag.views.inc, line 255 - Provides support for the Views module.
Code
function flag_field_handler_count($fieldinfo, $fielddata, $value, $data) {
return _flag_format_plural($value, $fielddata['options']);
}