function pdf_to_imagefield_widget_process in PDF to ImageField 7
Same name and namespace in other branches
- 6.2 pdf_to_imagefield.module \pdf_to_imagefield_widget_process()
- 6 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_element_info in ./
pdf_to_imagefield.module - Implements hook_element_info().
File
- ./
pdf_to_imagefield.module, line 639 - 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;
}