You are here

function download_count_theme in Download Count 7.2

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.3 download_count.module \download_count_theme()

Implements hook_theme().

File

./download_count.module, line 118
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() {
  return array(
    'download_count_upload_attachments' => array(
      'variables' => array(
        'files' => NULL,
        'downloads' => NULL,
      ),
      'file' => 'includes/download_count.theme.inc',
    ),
    'download_count_formatter_download_count' => array(
      'render element' => 'element',
      'file' => 'includes/download_count.theme.inc',
    ),
  );
}