You are here

function pdf_theme in PDF 6

Same name and namespace in other branches
  1. 8 pdf.module \pdf_theme()
  2. 7 pdf.module \pdf_theme()

Implementation of hook_theme().

File

./pdf.module, line 25

Code

function pdf_theme() {
  $theme = array(
    'pdf_formatter_iframe' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'pdf_formatter_thumbnail' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    'pdf_viewer' => array(
      'template' => 'pdf-viewer',
      'arguments' => array(
        'file' => NULL,
        'node' => NULL,
        'language' => NULL,
      ),
    ),
  );
  return $theme;
}