You are here

function download_count_block_info in Download Count 7.2

Same name and namespace in other branches
  1. 7.3 download_count.module \download_count_block_info()

Implements hook_block_info().

File

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

Code

function download_count_block_info() {
  $blocks['files']['info'] = t('Top Downloaded Files');
  $blocks['downloaders']['info'] = t('Top Downloaders');
  $blocks['users']['info'] = t('Top Downloaded Users');
  $blocks['nodes']['info'] = t('Top Downloaded Nodes');
  return $blocks;
}