function download_count_theme in Download Count 8
Same name and namespace in other branches
- 6.2 download_count.module \download_count_theme()
- 6 download_count.module \download_count_theme()
- 7.3 download_count.module \download_count_theme()
- 7.2 download_count.module \download_count_theme()
Implements hook_theme().
File
- ./
download_count.module, line 141 - Tracks file downloads for files stored in the drupal files table.
Code
function download_count_theme() {
$theme = [
'download_count_file_field_formatter' => [
'variables' => [
'file' => NULL,
'url' => NULL,
'classes' => NULL,
'count' => NULL,
],
],
];
return $theme;
}