function pdfpreview_theme in PDFPreview 8
Same name and namespace in other branches
- 6 pdfpreview.module \pdfpreview_theme()
- 7.2 pdfpreview.module \pdfpreview_theme()
- 7 pdfpreview.module \pdfpreview_theme()
- 2.0.x pdfpreview.module \pdfpreview_theme()
Implements hook_theme().
File
- ./
pdfpreview.module, line 13 - Generates image previews of PDF files.
Code
function pdfpreview_theme($existing, $type, $theme, $path) {
return [
'pdfpreview_formatter' => [
'render element' => 'element',
],
];
}