You are here

function views_pdf_theme in Views PDF 8

Same name and namespace in other branches
  1. 6 views_pdf.module \views_pdf_theme()
  2. 7.3 views_pdf.module \views_pdf_theme()
  3. 7 views_pdf.module \views_pdf_theme()
  4. 7.2 views_pdf.module \views_pdf_theme()

Implements hook_theme().

File

./views_pdf.module, line 13
PDF Views allows the creation of PDF's directly from a view. Without the creation of HTML first.

Code

function views_pdf_theme() {

  // TODO: Review all the themes and find clear user.
  return array(
    'views_pdf_plugin_style_table' => array(
      'render element' => 'form',
      'file' => 'views_pdf.admin.inc',
    ),
    'views_pdf_icon' => array(
      'render element' => 'form',
      'variables' => array(
        'url' => NULL,
        'title' => NULL,
      ),
    ),
  );
}