function theme_download_file_formatter_direct_download_thumbnail_image in DownloadFile 7.2
Same name and namespace in other branches
- 7.3 download_file.formatter.inc \theme_download_file_formatter_direct_download_thumbnail_image()
Theming function for link with a thumbnail to direct download the image.
Parameters
$variables:
Return value
string A string containing the HTML output.
1 theme call to theme_download_file_formatter_direct_download_thumbnail_image()
- download_file_field_formatter_view in ./
download_file.module - Implementation of hook_field_formatter_view().
File
- ./
download_file.formatter.inc, line 85
Code
function theme_download_file_formatter_direct_download_thumbnail_image($variables) {
$output = '';
foreach ($variables['items'] as $delta => $item) {
if (!empty($item)) {
$output .= theme('download_file_direct_download_thumbnail_image', array(
'file' => (object) $item,
));
}
}
return $output;
}