You are here

function download_count_field_formatter_info in Download Count 6.2

Same name and namespace in other branches
  1. 7.3 includes/download_count.field.inc \download_count_field_formatter_info()
  2. 7.2 download_count.module \download_count_field_formatter_info()

File

./download_count.module, line 132
Tracks file downloads for files stored in the drupal files table using the private files setting or custom private filefield.

Code

function download_count_field_formatter_info() {
  return array(
    'download_count' => array(
      'label' => t('Generic files with download count'),
      'field types' => array(
        'filefield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'description' => t('Displays all kinds of files with an icon and a linked file description with download count information.'),
    ),
  );
}