You are here

function download_count_theme in Download Count 7.3

Same name and namespace in other branches
  1. 8 download_count.module \download_count_theme()
  2. 6.2 download_count.module \download_count_theme()
  3. 6 download_count.module \download_count_theme()
  4. 7.2 download_count.module \download_count_theme()

Implements hook_theme().

File

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

Code

function download_count_theme() {
  $theme = array(
    'download_count_file_field_formatter' => array(
      'variables' => array(
        'file' => NULL,
      ),
      'file' => 'includes/download_count.field.inc',
    ),
  );
  return $theme;
}