You are here

function pdf_to_imagefield_widget_process in PDF to ImageField 6.2

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

Element #process callback function.

#process runs even when previewing a new node (unlike nodeapi presave)

(unused currently)

1 string reference to 'pdf_to_imagefield_widget_process'
pdf_to_imagefield_elements in ./pdf_to_imagefield.module
Implementation of hook_elements().

File

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

Code

function pdf_to_imagefield_widget_process($element, $edit, &$form_state, $form) {

  // It figures that a user would like to actually preview the cover page
  // image when 'previewing'.
  // TODO See if we can do that.
  // .. currently too hard.
  return $element;
}