function pdf_theme in PDF 7
Same name and namespace in other branches
- 8 pdf.module \pdf_theme()
- 6 pdf.module \pdf_theme()
Implements hook_theme().
File
- ./
pdf.module, line 12
Code
function pdf_theme() {
$theme = array(
'pdf_formatter_default' => array(
'variables' => array(
'file' => NULL,
'keep_pdfjs' => NULL,
'width' => NULL,
'height' => NULL,
),
'file' => 'includes/pdf.field.inc',
),
'pdf_formatter_thumbnail' => array(
'variables' => array(
'file' => NULL,
'scale' => 1,
'width' => NULL,
'height' => NULL,
),
'file' => 'includes/pdf.field.inc',
),
'pdf_formatter_pages' => array(
'variables' => array(
'file' => NULL,
'scale' => 1,
),
'file' => 'includes/pdf.field.inc',
),
);
return $theme;
}