You are here

function pdf_to_imagefield_theme in PDF to ImageField 6.2

Same name and namespace in other branches
  1. 6 pdf_to_imagefield.module \pdf_to_imagefield_theme()
  2. 7 pdf_to_imagefield.module \pdf_to_imagefield_theme()

Implementation of hook_theme().

File

./pdf_to_imagefield.module, line 16
PDF to ImageField core hooks and menu callbacks.

Code

function pdf_to_imagefield_theme() {
  return array(
    // pdf_to_imagefield_widget form element type theme function.
    'pdf_to_imagefield_widget' => array(
      'arguments' => array(
        'element' => NULL,
      ),
    ),
    // Use to generate a preview (admin view) of an imagefield item for use in
    // field item forms and filefield widgets. Invoked by filefield_widget_process.
    'pdf_to_imagefield_widget_preview' => array(
      'arguments' => array(
        'item' => NULL,
      ),
    ),
  );
}