You are here

function download_count_theme in Download Count 6.2

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

Implementation of hook_theme().

File

./download_count.module, line 119
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(
      'arguments' => array(
        'files' => NULL,
        'downloads' => NULL,
      ),
      'file' => 'includes/download_count.theme.inc',
    ),
    'download_count_formatter_download_count' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'includes/download_count.theme.inc',
    ),
  );
}