You are here

function template_preprocess_pdf_viewer in PDF 6

Preprocessor for theme function pdf_viewer

File

./pdf.module, line 53

Code

function template_preprocess_pdf_viewer(&$variables) {
  $variables['nid'] = $variables['node']->nid;
  $variables['file_url'] = file_create_url($variables['file']['filepath']);
}