You are here

function pdfpreview_theme in PDFPreview 8

Same name and namespace in other branches
  1. 6 pdfpreview.module \pdfpreview_theme()
  2. 7.2 pdfpreview.module \pdfpreview_theme()
  3. 7 pdfpreview.module \pdfpreview_theme()
  4. 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',
    ],
  ];
}