You are here

function download_count_field_formatter_info in Download Count 7.3

Same name and namespace in other branches
  1. 6.2 download_count.module \download_count_field_formatter_info()
  2. 7.2 download_count.module \download_count_field_formatter_info()

Implements hook_field_formatter_info().

File

includes/download_count.field.inc, line 10
Implement a file field formatter that includes download count.

Code

function download_count_field_formatter_info() {
  $formatters = array(
    'download_count_count' => array(
      'label' => t('Generic file with download count'),
      'field types' => array(
        'file',
      ),
    ),
  );
  return $formatters;
}